https://desktop.github.com/
log in configuration:
open github desktop -> repository tab -> open in command prompt
git config --list --show-origin
open C:/Users/bob/.gitconfig with notepad
modify [user] on top
[user]
email = xxxx
name = xxxxx
-----------------------------------------------------------
open github website -> register -> create new repository
copy repository address
--------------------------------------------------------------
open github desktop -> file tab -> clone repository -> url tab -> paste address -> clone
past website repository address in url -> create
----------------------------------------------
github website -> repository 1 -> click upload -> drag drop -> commit when upload finishes
test folder is uploaded
create new branch:
click branch master -> enter new branch name -> click create
branch1 is the copy of master, keep master intact while editing
when edit is done, merge branch1 into master to update master
-------------------------------------------------------------
open github desktop -> click fetch origin tab -> click current branch tab
branch1 is added
work on local repository to modify code
open project in visual studio, modify code, close visual studio
visual studio will create .vs folder, delete it, the code modified is in other folder
github desktop will pick up change from local repository
make sure current branch is branch1, commit change
click push origin tab
--------------------------------------------
on github website
shows branch 1 is updated
check that modification is indeed added
click commits to check repository at different stages
notification in branch1 shows it is different than master,
click compare
difference between branch1 and master are shown
click create pull request
click create pull request
check reviews, looks good -> merge pull request
verify master is updated
click delete branch
No comments:
Post a Comment