1
1
mirror of https://github.com/namibia/awesome-cheatsheets.git synced 2025-01-01 21:42:51 +00:00

Merge pull request #114 from rmlzy/master

docs(git): update git.sh
This commit is contained in:
Julien Le Coupanec 2020-04-07 15:48:20 +02:00 committed by GitHub
commit 6ed61dd6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,9 @@ git branch my-branch # creates my-branch
git branch -d my-branch # deletes my-branch
git checkout my-bracnch # switches to my-branch
git merge my-branch # merges my-branch to current branch
git push origin :my-branch # delete remote branch
git cherry-pick <commit_id> # merge the specified commit
git remote # shows the remotes
git remote -v # shows the remote for pull and push