battle programming a forum for elite programmers with extreme will power to sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share
 

 ios app dev

Go down 
Go to page : Previous  1, 2
AuthorMessage
Moti Barski

Moti Barski

Posts : 311
Join date : 2011-08-02

ios app dev - Page 2 Empty
PostSubject: github   ios app dev - Page 2 EmptyThu Feb 21, 2019 10:27 pm

ios app dev - Page 2 2ua76m

git enables you to save modified versions of files in a directory
restore to a version and one click publish(private or publicly) to the guthub site AKA commit

open a github at : https://github.com

install git for windows : https://git-scm.com/book/en/v2/Getting-Started-Installing-Git
if you have mac it is already installed probably

install git desktop : https://desktop.github.com/

git jutsus with terminal :

vim file.exe // edit a file from the terminal
I for insert
esc, shift colon x // exit vim
git init // type this when you are in your projects directory
esc, :wq or :x // exit vim
git status // get file versions data moded and newly created files
git add file.exe // add file to be git tracked or updated (after modification)
git add -A // add all files in dir for tracking
git commit -m "1st commit" // save file ver with title for said ver
git log // get git commits history
git checkout paste 7 1st chars from the version you want from git log // restore to file version
git branch //
git checkout -b name // pulls all changes from said git branch and makes it the active version

_________________
MB over and out emp it up
Back to top Go down
View user profile
 
ios app dev
Back to top 
Page 2 of 2Go to page : Previous  1, 2

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: