Skip to content

Commit ddae4de

Browse files
committed
Fix README.md Cheat sheets Git
1 parent aaab88a commit ddae4de

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Cheat_sheets/Git/README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,14 @@ git remote add origin git@github.com:FJrodafo/Temp.git
299299
git push -u origin main
300300
```
301301

302+
```shell
303+
# CHANGE .git FOLDER TO ORIGINAL REPOSITORY
304+
git add -A
305+
git commit -m "Initial Update"
306+
git push -u origin main
307+
git log --pretty=format:'%h %an %ae'
308+
```
309+
302310
```shell
303311
# MOVE .git FOLDER TO TEMP REPOSITORY
304312
git branch
@@ -318,11 +326,6 @@ git push origin main --force
318326
git log --pretty=format:'%h %an %ae'
319327
git branch
320328
git branch -D master
321-
# CHANGE .git FOLDER TO ORIGINAL REPOSITORY
322-
git add -A
323-
git commit -m "Initial Update"
324-
git push -u origin main
325-
git log --pretty=format:'%h %an %ae'
326329
```
327330

328331
## Working with Issues and Pull Requests

0 commit comments

Comments
 (0)