Bookmarks
Posts tagged: Git
(Page 3)
« Previous
1
2
3
How to push a new local branch to a remote Git repository
Nov
13
2012
git push -u origin new-branch git fetch origin git checkout --track origin/new-branch
How to change last commit message if pushed by mistake
Nov
13
2012
git reset --soft HEAD^ or git commit --amend git commit -m "New message" git push -f
Remove last commit from repository
Nov
11
2012
git reset --hard HEAD~1 git push -f
Remove bad tag from repository
Nov
11
2012
git tag -d bad-tag git push origin :bad-tag git tag -a good-tag -m "Add good-tag" git push --tags
« Previous
1
2
3