Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

git flow release

#Starting a release create a branch release/release_version
#tipically version are Semantic Versioning standard X.Y.Z
git flow release start release_version
#Finish a release, remember to update your application version!
git flow release finish release_version
#Remember to push all branches and tags
git push --all --follow-tags
Comment

git flow feature

#Open a feature branch named: feature/feature_name
git flow feature start feature_name
#Close a feature branch
git flow feature finish feature_name
#Remember to push all branches
git push --all
Comment

Git Flow

The best way to learn about git flow is on the website:

https://stackoverflow.com/questions/47935457/when-to-create-release-branch-in-git-flow
Comment

git flow

#Github pull request flow:
#Checkout to main and make sure local is up to date.
1. git checkout main (or master)
2. git pull
#Start new branch (or skip to step 9 if existing branch)
3. git checkout -b yourBranchName
4. #add new code
5. git add . 
6. git commit -m your message
#Go back to main branch and update local
7. git checkout main
8. git pull
9. git checkout yourBranchName
10. git merge main
11. #run local version of code to make sure functionality still works
12. git push origin yourBranchName
13. ##go to github and create a pull request
Comment

PREVIOUS NEXT
Code Example
Shell :: deploy django site to aws 
Shell :: install deno 
Shell :: git discard changes 
Shell :: how to use git stash in current branch 
Shell :: how to remove one file from git history 
Shell :: scp copy directories 
Shell :: how to save powershell config 
Shell :: present working directory in linux 
Shell :: docker stop swarm 
Shell :: how to get specific lines of shell output 
Shell :: ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries 
Shell :: git unstash 
Shell :: how to access the local machine using WSL 
Shell :: commit your changes 
Shell :: pull all remote branch into new local 
Shell :: docker run multiple commands in dockerfile 
Shell :: docker desktop for fedora 
Shell :: jenkins as docker container 
Shell :: chmod 777 meaning 
Shell :: how to save curl output to a file 
Shell :: vim delete word without yank 
Shell :: add line to beginning of file shell script 
Shell :: linux nano how to go to a certain line 
Shell :: create a bootable usb drive ubuntu 
Shell :: copy branch to master 
Shell :: bash manual command 
Shell :: bash shuffle lines 
Shell :: ubuntu battery and network utilities install 
Shell :: unity install server cache 
Shell :: how to send commangds to gitbash from cmd 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =