battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | 

 ios app dev

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

Moti Barski

Posts : 286
Join date : 2011-08-02

PostSubject: github   Thu Feb 21, 2019 10:27 pm

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 :

install git for windows :
if you have mac it is already installed probably

install git desktop :

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 _______________________     
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: