Last active
March 6, 2022 06:20
-
-
Save frankyaorenjie/9bd1fe49003f48b4bcb613e5b5b9cdda to your computer and use it in GitHub Desktop.
[git] git snippets #git
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
#V2 is branch name | |
#upstream is remote name | |
git push upstream HEAD:V2 |
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
[core] | |
repositoryformatversion = 0 | |
filemode = true | |
bare = false | |
logallrefupdates = true | |
ignorecase = true | |
precomposeunicode = true | |
[remote "origin"] | |
url = git@github.com:frankyaorenjie/abc.git | |
fetch = +refs/heads/*:refs/remotes/origin/* | |
[branch "develop"] | |
remote = origin | |
merge = refs/heads/develop | |
[remote "upstream"] | |
url = git@github.com:visenze/abc.git | |
fetch = +refs/heads/*:refs/remotes/upstream/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
git commonds