Created
May 12, 2023 10:47
-
-
Save marcingolenia/af1534145823b2452a3152f5eec025e8 to your computer and use it in GitHub Desktop.
Git commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git restore --source origin/master filename | |
git checkout - | |
git log branchB..branchA | |
git log --oneline --decorate | |
git config --global push.default current | |
git config --global push.autoSetupRemote true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment