Last active
February 28, 2023 19:51
-
-
Save farukcan/930ae86c1516371cd6e33028a470031d to your computer and use it in GitHub Desktop.
Git Commands - Visual Powershell Repository
This file contains hidden or 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
{ | |
"Name" : "Git Commands", | |
"Author": "farukcan", | |
"Website" : "https:/farukcan.net", | |
"Commands" : [ | |
{ | |
"Name" : "π Initialize folder", | |
"Scripts" : ["git init"] | |
}, | |
{ | |
"Name" : "π Clone Repository", | |
"Scripts" : ["git clone {text:URL}"] | |
}, | |
{ | |
"Name" : "π’ Status", | |
"Scripts" : ["git status"] | |
}, | |
{ | |
"Name" : "β Add All Files to Stage", | |
"Scripts" : ["git add ."] | |
}, | |
{ | |
"Name" : "πΎ Commit", | |
"Scripts" : ["git commit -m \"{text:Message}\""] | |
}, | |
{ | |
"Name" : "β¬ Pull from remote", | |
"Scripts" : ["git pull"] | |
}, | |
{ | |
"Name" : "β« Push to remote", | |
"Scripts" : ["git push"] | |
}, | |
{ | |
"Name" : "β« Push and set upstream", | |
"Scripts" : ["git push -u {text:Remote Name} {text:Branch Name}"] | |
}, | |
{ | |
"Name" : "π New branch", | |
"Scripts" : ["git branch {text:Branch Name}"] | |
}, | |
{ | |
"Name" : "π List branches", | |
"Scripts" : ["git branch -a"] | |
}, | |
{ | |
"Name" : "ποΈ Delete branch", | |
"Scripts" : ["git branch -d {text:Branch Name}"] | |
}, | |
{ | |
"Name" : "π Merge branch", | |
"Scripts" : ["git merge {text:Branch Name}"] | |
}, | |
{ | |
"Name" : "π Rename branch", | |
"Scripts" : ["git branch -m {text:Current Branch Name} {text:New Branch Name}"] | |
}, | |
{ | |
"Name" : "π Switch branch", | |
"Scripts" : ["git checkout -b {text:Branch Name}"] | |
}, | |
{ | |
"Name" : "β Add Remote", | |
"Scripts" : ["git remote add {text:Remote Name} {text:URL}"] | |
}, | |
{ | |
"Name" : "ποΈ Remove Remote", | |
"Scripts" : ["git remote rm {text:Remote Name}"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment