visual studio 2013 - How to use Git tools nested in VS2013 properly? -


i've got several questions latest function github nested in vs2013 ( didn't install other 3-rd party git tools).

if fork project in github website server side, , clone project local disc , editing, deleting , adding files……, then:

1) if "commit" changes, these changes impact forked project on server side?

2) if "push" changes after commit, these changes impact forked project on server side?

3) if "push" changes after commit, send pull request original project forked original author knows i've sent changes , maybe he/she can merges?

4) if click "pull", , if original has changes (differing mine), fork project synchronized latest version original one?

5) if click "fetch", happen? what's difference between "fetch" , "pull" in vs2013?

1) if "commit" changes, these changes impact forked project on server side?

no, when commit locally affects local branch, not remote one.

2) if "push" changes after commit, these changes impact forked project on server side?

yes, pushing branch how "sync" local , remote versions.

3) if "push" changes after commit, send pull request original project forked original author knows i've sent changes , maybe he/she can merges?

yes, recollection github this.

4) if click "pull", , if original has changes (differing mine), fork project synchronized latest version original one?

what happens depends on pull strategy. trigger merge or rebase. depend on settings. in either case, yes "sync" remote branch.

5) if click "fetch", happen? what's difference between "fetch" , "pull" in vs2013?

doing fetch tell git bring in changes remote local git system not merge or rebase changes in branch. here simple equation remember:

git pull = git fetch + git merge/rebase 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -