Git-Commands: Other References
Git-Commands: Other References
& git clone ssh://git@git Create a local copy of a remote repository GitHub - dahlbyk/posh-git: A
hub.com/[username]/ PowerShell environment for Git
Creatin Creating a personal access
[repository-name].git
g token - GitHub Docs
https://askubuntu.com
Projects /questions/206449/git-config-
global-file-remove-settings
Basic git status Check status https://docs.microsoft.com/en-
Snaps us/azure/devops/repos/git
git add [file-name.txt] Add a file to the staging area
/ignore-files?view=azure-
hotting devops&tabs=visual-studio
git add -A Add all new and changed files to the staging area
https://git-scm.com/docs
git commit -m Commit changes /gitignore
"[commit message]" How To Rename a Local and
Remote Git Branch | Linuxize
git rm -r [file-name.txt] Remove a file (or folder)
Branch git branch List branches (the asterisk denotes the current branch)
ing & git branch -a List all branches (local and remote)
Merging
git branch [branch Create a new branch
name]
Git Ignore git rm -r /path/to/dir To ignore something already added to the repo, you have to do
git rm -r /path/to/dir and commit that before you add
the dir to your .gitignore file. Otherwise the only thing git will
ignore is your ignore directive.