-
On Github, create PAT(personal access token)
Settings->Developer Settings->Personal Access Tokens->Tokens(classic)
generate the token and keep in secure place (it only show once) -
In sourcetree, setting access acount of github
preference->Accounts->Add
Auth Type: Personal Access Token
Username:
PAT:
Protocol: HTTPS -
For existing local repo without remote repo,
select the local repo then select
Repository settings->remote repository path ->
add/edit with the following path: http://@github.com// -
To create new repo on remote,
File->New->Create a remote repository
3.2 Create local repo and also remote repo
File->New->Create local repo -
Git Flow -> initialized Repo
Master, Develop, Feature, Hotfix -
Git LFS
Repo->Repo setting->Advanced->.gitignore list edit *.pt
Repo->Git LFS->Initialized repo
Repo->Git LFS->Track/Untrack Files add *.pt
new gitattribute is generated then commit -
Push select master branch
Last active
July 9, 2023 07:51
-
-
Save nobodybutyoulin/cad8969c27d4fe6d80b971175993499b to your computer and use it in GitHub Desktop.
Sourcetree to Github
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment