Git commands workflow
Shell
GIT Commands and sudo-order of operations (* = not neccessary)
1. Initialize git
git init <--perform in target directory
2. Create new branch
*git branch <--check branch "inventory"
git checkout -b <name> <---create AND switch to new branch
3. Once in branch of choice use the following:
*git status
git add <file name(s)>
*git diff <--check if there are any changes to commit
*git reset <--run to discard any changes
git commit -m "<message>"
4. Merge branch with master
git merge <branch name> <--i.e. "master"
*git branch -d <branch name> <--delete branch
*git branch -D <branch name> <--delete not merged branch
5. Eat pizza!
Also in Shell:
- Title
- intall docker ubuntu command
- Category
- Shell
- Title
- Endpoint Security VPN build 986000724 is already installed on this computer.
- Category
- Shell
- Title
- gzip folder with tar
- Category
- Shell
- Title
- node install ubuntu
- Category
- Shell
- Title
- bash create file
- Category
- Shell
- Title
- install git
- Category
- Shell
- Title
- npm install --global vue-cli
- Category
- Shell
- Title
- How do I show the changes which have been staged
- Category
- Shell
- Title
- connection failed blueman.bluez.errors.dbusfailederror protocol not available
- Category
- Shell
- Title
- linux get ip by domain
- Category
- Shell
- Title
- vim command to open a file
- Category
- Shell
- Title
- find exclude hidden files
- Category
- Shell
- Title
- git how to see changes made by a commit
- Category
- Shell
- Title
- kill port ubuntu
- Category
- Shell
- Title
- how to get the size of directory in linux
- Category
- Shell
- Title
- delete git tag remote
- Category
- Shell
- Title
- upgrade aws cli
- Category
- Shell
- Title
- stop docker container
- Category
- Shell
- Title
- how to revert commit in git
- Category
- Shell
- Title
- start a local SMTP debugging server in linux
- Category
- Shell
- Title
- powershell create symlink
- Category
- Shell
- Title
- assign default value in shell script
- Category
- Shell
- Title
- installing caddy server in ubuntu 18
- Category
- Shell
- Title
- git add gitignore
- Category
- Shell
- Title
- git global username --replace-all
- Category
- Shell
- Title
- how to install jupyter notebook in windows 10
- Category
- Shell
- Title
- clone a given branch github
- Category
- Shell
- Title
- git reset specific file
- Category
- Shell
- Title
- add dns in ubuntu permanently
- Category
- Shell
- Title
- how to move file in directory in linux
- Category
- Shell
- Title
- pip install upgrade all
- Category
- Shell
- Title
- ubuntu install sfml
- Category
- Shell
- Title
- git clean
- Category
- Shell
- Title
- how to use curl command in ubuntu
- Category
- Shell
- Title
- extract a tar.xz file linux
- Category
- Shell
- Title
- rials db down
- Category
- Shell
- Title
- how to install .whl file in windows 10
- Category
- Shell
- Title
- gzip folder with tar and exclude directories
- Category
- Shell
- Title
- update yarn
- Category
- Shell
- Title
- how to see our already added users in linux
- Category
- Shell
- Title
- linux permission
- Category
- Shell
- Title
- install windows service
- Category
- Shell
- Title
- ubuntu virtual machine
- Category
- Shell
- Title
- delete git
- Category
- Shell
- Title
- remove the last commit git without losing changes
- Category
- Shell
- Title
- how to make maven clean install faster in eclipse
- Category
- Shell
- Title
- how to push in git command line
- Category
- Shell
- Title
- Why are there two ways to unstage a file in Git?
- Category
- Shell
- Title
- cmd create rar file
- Category
- Shell
- Title
- batch loops
- Category
- Shell
- Title
- powershell get date
- Category
- Shell
- Title
- how to install specific package version npm
- Category
- Shell
- Title
- stop elasticsearch node
- Category
- Shell
- Title
- install vuex orm
- Category
- Shell
- Title
- manjaro network driver installed but not working
- Category
- Shell
- Title
- bash generate file
- Category
- Shell
- Title
- pip command not found macos
- Category
- Shell
- Title
- enzyme npm install
- Category
- Shell
- Title
- git rebase
- Category
- Shell
- Title
- The repository 'https://download.docker.com/linux/ubuntu focal Release' does not have a Release file
- Category
- Shell
- Title
- gyp error npm install
- Category
- Shell
- Title
- gulp-gzip
- Category
- Shell
- Title
- git show diff between branches
- Category
- Shell
- Title
- install tensorflow
- Category
- Shell
- Title
- how to check if django is installed in ubuntu
- Category
- Shell
- Title
- ufw allow postgresql
- Category
- Shell
- Title
- source fish config
- Category
- Shell
- Title
- ionic publish
- Category
- Shell
- Title
- delete a github repository using bash
- Category
- Shell
- Title
- how to install pod
- Category
- Shell
- Title
- git rename branch
- Category
- Shell
- Title
- check directory size
- Category
- Shell
- Title
- how to rename working directory in linux
- Category
- Shell
- Title
- set username git
- Category
- Shell
- Title
- git ignore node_modules
- Category
- Shell
- Title
- set origin url git
- Category
- Shell
- Title
- no ip raspberry manually update
- Category
- Shell
- Title
- git commands
- Category
- Shell
- Title
- how to uninstall in ubuntu
- Category
- Shell
- Title
- install sklearn
- Category
- Shell
- Title
- get folder size powershell
- Category
- Shell
- Title
- linux zip all folders except one
- Category
- Shell
- Title
- install dependencies @material-ui/lab/Rating
- Category
- Shell
- Title
- pipe find to rm
- Category
- Shell
- Title
- how to uninstall htcondor
- Category
- Shell
- Title
- linux view environment variables
- Category
- Shell
- Title
- run msi on linux
- Category
- Shell
- Title
- updating git on mac
- Category
- Shell
- Title
- how to run shell script
- Category
- Shell
- Title
- delete local branch git
- Category
- Shell
- Title
- remove home icon ubuntu
- Category
- Shell
- Title
- npm install package as developer dependency
- Category
- Shell
- Title
- installing rspec gemfile
- Category
- Shell
- Title
- single line comment in shell script
- Category
- Shell
- Title
- change dns resolver linux
- Category
- Shell
- Title
- ubuntu show disk usage
- Category
- Shell
- Title
- install node 12 linux terminal w10
- Category
- Shell
- Title
- bash find file with text
- Category
- Shell
- Title
- how to create a new group in linux
- Category
- Shell
- Title
- install scypi
- Category
- Shell