Git thread with github - clicking on central repo

I installed the repository in a Git hub and I am using a Git thread. I know how to create features, releases and fixes, however, from what I read it is not yet clear how you click on the central repository (github), so I have a few questions:

  • Once the function is complete and you run git flow feature finish , how do you then click this on github?
  • Once it is pushed to Github, do I ever need to pull it out of Github, or do we never touch the central repo and just use it so that other developers / servers can pull it out of it?
  • How do developers pull from a central repo using a Git thread?

thanks

+8
git github git-flow
source share
1 answer

To return to github, there is no real command in git-flow: git push origin develop if you just touched the development branch and git push origin master if you also touched the main branch. (I started using the branch name according to git 2.0, the default behavior of git push will change so as not to push the whole branch when you press git)

If you are working with a development team, you always need to pull it out of the central repo before you start working, as others could make changes and you donโ€™t have them. You can do this manually or use the git thread flag.

If you run the new function:
git flow feature start -F foo

This will allow you to get the development branch and checks if your branch corresponds to the remote branch, if it does not work, and you need to make sure that they exist.

It's important to know the basics of git before you start using git -flow.
I also suggest reading Distributed git - Distributed Workflows

+7
source share

All Articles