Evan Shortiss
Software Engineer and Mobile Developer. Works at FeedHenry
Using Git with the FeedHenry Platform
$ git clone git@tke.fh.com:tke/SomeApp.git $ git status $ git checkout [branch-name] $ git diff [filename] $ git add ./file/path/*.js $ git commit -m "Added all project JS files" $ git push [repo] [branch] $ git pull [repo] [branch] $ git reset --hard $ git blame ./file/path/app.js $ git tag -a TagName -m "Message" $ git log
*Everyone's favourite!
node_modules
bower_components
.fhc-debug.log
.npm-debug.log
.DS_Store
.idea
# Built application files
*.apk
*.ap_
# Files for the Dalvik VM
*.dex
# Java class files
*.class
# Generated files
bin/
gen/
$ ssh-keygen -t rsa
follow the prompts using defaults then...
$ cat ~/.ssh/id_rsa.pub
copy the output from cat to clipboard...
$ cd ~/workspaces/fh $ git clone [remote-1-url] $ cd remote-1-url $ git remote add [remote-2-name] [remote-2-url] $ git remote -v
"checked out" from develop
Used to perform testing
Perform final bug fixes
Bump the version number
Merge back into master and develop
Create a new git tag from master once merged
By Evan Shortiss
FeedHenry, and general, Git intro, complete with an example project branching strategy.
Software Engineer and Mobile Developer. Works at FeedHenry