Answers for "git workflow"

0

Git commands workflow

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!
Posted by: Guest on February-27-2020
0

git workflow

a basic git workflow
1. clone repsitory
2. staging
3. commit
4. push
Posted by: Guest on August-27-2020
0

gitflow workflow diagram

$ git checkout -b myfeature develop
Switched to a new branch "myfeature"
Posted by: Guest on May-04-2020
0

gitflow atlassian

$ git flow hotfix start hotfix_branch
Posted by: Guest on April-10-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language