![]() |
|
|
|
Registered
Join Date: Mar 2003
Posts: 10,318
|
git gui for mac?
Anyone able to recommend a stand-alone git client for the Mac users out there? I'm happy using it via my IDE on my Linux box, and we don't have any windows machines to worry about atm. Mac users are doign HTML stuff, so I don't think they need/want a full blown IDE like NetBeans or Eclipse, they use Sublime as their editor...
Of of 'em actually asked me about using the command line to do it.... and while I love me some blinkin cursor action, I don't wanna traumatize them too much... Thanks! |
||
![]() |
|
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,852
|
What?! You aren't demanding that they us Vi? I guess vi is just an editor and git is version control, so not really exactly the same thing. I'm relatively new at this whole scripting thing myself.
https://git-scm.com/download/gui/mac https://www.slant.co/topics/4985/~visual-git-guis
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() Last edited by masraum; 08-23-2018 at 03:25 AM.. |
||
![]() |
|
The Unsettler
|
I use https://desktop.github.com
Some of my guys use Tower . https://www.git-tower.com/mac For a terminal emulator check out iTerm, https://www.iterm2.com My most frequently used editor is Brackets. Brackets - A modern, open source code editor that understands web design. .
__________________
"I want my two dollars" "Goodbye and thanks for the fish" "Proud Member and Supporter of the YWL" "Brandon Won" |
||
![]() |
|
Banned
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
|
Oh fer forks sake....
git pull git commit git paid git from the command line is not as as intimidating as it seems, and I think devs worth their salt should really know how to cherry pick commits, resolve conflicts, rebase from the command line. |
||
![]() |
|
Registered
Join Date: Aug 2002
Location: MD
Posts: 5,733
|
^
![]() Seems like you are creating a problem looking for a gui |
||
![]() |
|
Registered
Join Date: Sep 2015
Location: NY
Posts: 6,887
|
Command line ain’t so bad in this case.
|
||
![]() |
|
![]() |
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,852
|
Quote:
My git is just local if it matters.
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|
Banned
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
|
Quote:
There are different strategies for git branching. Our team has a single main branch we call 'Release'. Putting your stuff in the Release branch means that its ready for testing, and you intend it to go live in the next product release. So lets suppose you want to work on a new feature, and its a big one. Your are on the Release branch, and checkout a new branch to get started: git checkout -b my-new-feature-branch Great. Now you and your other team members want to start working cards for the new feature, checking out tiny branches to work individual cards, and then merging them back into my-new-feature-branch. All good, except that the Release branch is still out there, and people are adding new commits to it all the time. You want to make sure you keep your feature branch up to date with Release by doing a frequent rebase. Basically you are taking all of the new commits in Release, and replaying them over the top of your branch, to ensure you are up to date. Ah, but what if someone has merged something into release, and it conflicts with a change in your branch? This is called a merge conflict. Git will tell you were the conflicts are. You open up the code, resolve the differences, then commit the fixes. Last one, cherry picking. Lets suppose you have a branch, and it gets really screwed up. Perhaps someone accidentally merged in a bunch of stuff, and no one notices for a long time. Now you want to merge your stuff in, and realize that the branch is wrecked. Doing a cherry pick, you can open up a fresh branch, then retrieve only the commits from your feature branch that contain the stuff you want. The new branch with only the good stuff can them be merged in. And the person who messed things can be made fun of an buy the first round after work. ![]() Hope that helps. Last edited by HardDrive; 08-24-2018 at 05:24 PM.. |
||
![]() |
|
Banned
Join Date: Apr 2005
Location: Columbus, OH
Posts: 18,162
|
I am OH SO not a git guru, but a bit of advice is to commit frequently. Not every new method you created, but don't type all day them commit. Having frequent commits means that if something goes wrong, you can get yourself back to a very specific point in time before things went off the rails. You can't do that if you type for 8 hours and commit it as one big blob at the end of the day.
|
||
![]() |
|
Back in the saddle again
Join Date: Oct 2001
Location: Central TX west of Houston
Posts: 55,852
|
Good stuff, thanks for the info.
__________________
Steve '08 Boxster RS60 Spyder #0099/1960 - never named a car before, but this is Charlotte. '88 targa ![]() |
||
![]() |
|