Best Rat For Mac Os X Github



Active5 years, 1 month ago

I'm trying to use a local Git repository (i.e. not hosted on GitHub at all), and I'm having troubles with GitHub for Mac.

Installing Windows on a Mac should be a piece of cake with Bootcamp, but that rarely is the case. In fact, I would personally say that Boot Camp Assistant is one of the worst apps that comes with OS X and unlike the rest, it doesn’t work seamlessly. The best Mac Git GUI client of 2011: SmartGit On the other hand, SmartGit lets you do many of the things you'll need to do with Git on a regular basis, including push, pull, work with branches, view changes with log, etc. EvilOSX: A pure python, post-exploitation, remote administration tool (RAT) for macOS / OS X. The EvilOSX can be used to target any MacOS machine and install a persistence backdoor in.

It shows my outgoing changes, but then I appear to have to Push to the server, and there appears to be no way to perform a 'Sync' without publishing to GitHub (which we don't want to do).

I haven't found any documentation regarding this, or users experiencing similar issues.

Mac

Any suggestions?

K. CarpenterK. Carpenter
5311 gold badge5 silver badges19 bronze badges

4 Answers

The application is a free tool to encourage you to use GitHub, and works best with GitHub, but it can also work with private repositories now as detailed in this excerpt from http://mac.github.com/help

Multiple Git remotes & non-GitHub remotes GitHub for Mac does not support multiple Git remotes. We will only work with the origin remote. If you wish to push & pull to other remotes, we suggest that you use the command line client.

GitHub for Mac is optimized to work with GitHub remotes — but if you wish to use a non-GitHub remote, it will work just fine. Set the remote manually in the settings tab and everything else should work as expected.

I have tested the latest [Version 1.2.6 (010d408)] software with some of my private non-github remotes and it seems to work ok with some fiddling. In theory, you should just be able to drag and drop an existing repository into the new repository pane. If the existing repository on your local machine has been set up to work with your remote from the command line, then it should work just fine in the GitHub software....

However, I ran into a few hiccups along the way. For example, the GitHub for Mac software refused to acknowledge one of my repositories. I would continuously drag and drop it into the Mac software and it would refuse to show up in the repository list. Sometimes, a random repository would pop up instead from my GitHub account! Some of my other private repos worked just fine, and I could circumnavigate the strange bug by manually moving the .git directory to another folder and then dragging the local repo into the Mac software pane. It would then offer to set up a new repo in that folder. After this was done, I replaced the new .git directory with my old backup. Even with this little problem fixed, I still occasionally get random errors dialogue boxes that inform me that there has been a 'Git Error' when browsing commits, although this information appears to be just an annoyance, as all my commit information is displayed correctly. I normally work from the command line and am pretty sure that there was no problem with the setup of my git repo.

In summary, GitHub form Mac is awesome for Gitub based repos, but still not perfect for your own repos on different remotes. There are, however, other free tools such as gity and gitx that work on mac and allow you to use a repo hosted anywhere. I have not tried Tower, but it looks pretty awesome.

learnvstlearnvst
9,52810 gold badges56 silver badges102 bronze badges

I don't actually have a Mac to try this, so maybe I'm missing something glaringly obvious, but according to http://mac.github.com/help:

GitHub for Mac is optimized to work with GitHub remotes — but if you wish to use a non-GitHub remote, it will work just fine. Set the remote manually in the settings tab and everything else should work as expected.

so I presume in the settings you can do something similar to doing the following on the command-line:

Then when you hit the Sync button it should use that it seems. I would guess that behind the scenes the Github client is simply using your project's .git/config file, so I'd be surprised if you can't edit your remote as you see fit.

See e.g. this post for a few different ways of setting up your shared remote.

ngmngm
5,8591 gold badge39 silver badges58 bronze badges

If you don't want to publish your code on github but do want to use the github tools, you could pay for private repositories:

then you can use the github tools and still keep your code to yourself. Otherwise, you'll have to use something other than the github mac application to handle your git workflow:

Community
jimwjimw

Clone your repository in the command-line, then add it to GitHub.app as a local repository. That seems to work for me -- it looks like GitHub.app is successfully reading the origin from the .git/config file and using it to sync.

pjspjsClient
14k4 gold badges17 silver badges41 bronze badges

Not the answer you're looking for? Browse other questions tagged gitgithub-for-mac or ask your own question.

When it comes to version control, I am a Subversion fan through and through. But this old dog can be taught new tricks, and Git is the bright and shining star of the version control systems available now, and with some pretty good reason. Unfortunately, I'm lazy and used to Subversion, and currently use Git quite rarely, so I didn't want to invest the time to figure out the command line client. If and when I decide to start using Git more seriously, then I'll make that investment; until then I decided to hunt for a nice point-and-click Git client.

Primary players

As I looked, I found that there are currently three big players in the Git GUI space on the Mac right now: SmartGit, Tower, and SourceTree. If you're on a budget and don't mind using a non-Mac-like java program, SmartGit is worth looking at. For use in a commercial environment, it will set you back $69. It's the most expensive of the three; however, if you use it for non-commercial use, it's free. Tower will set you back $59 and SourceTree is a little cheaper at $55.

I played with SmartGit briefly and I really didn't like it. It seemed clunky and I found the UI to be confusing and very unlike my other GUI VCS tool, Cornerstone (for Subversion), so I can honestly say I didn't give it much of a chance. I really didn't enjoy using it. Comparing Tower to SourceTree was more interesting because they are very close in price, and they are both very obviously native Mac applications with the good looks to prove it. The UI of Tower, however, struck me as being more like Cornerstone and a little easier to use, so after brief usage between the two, I opted for Tower. Tower has a 30-day trial, and SourceTree has a 21-day trial so you can compare them for yourself.

Tower

While aesthetics are important to most Mac users, the look of Tower isn't entirely what sold me on it. Tower is a really solid front-end to the command line git program. It offers all the features necessary to work with Git: branching, tagging, merging, and easily working with remote repositories. Tower largely makes this a drag and drop affair. You can drag a remote repository branch onto a local branch and merge the changes into it. You can also easily create a new branch or tag from any commit on an existing branch from the history browser.

Click image to enlarge.

The repository viewer is both useful and annoying. Hitting Command+D will take you to the repository dashboard which lists the various defined repositories. Here you can see how many local uncommitted changes you have, and how many changes from upstream that you have not pulled in. Unfortunately, Tower only lets you work with one repository at a time and switching between repositories requires a visit to the dashboard or using the Repositories menu item to select from recently opened repositories. This seems like an extra step, especially when coming from Cornerstone that has a sidebar specifically to list repositories, showing the same needed/uncommitted changes that Tower's dashboard does. The dashboard idea would work, if it allowed you to have more than one window open — I could easily like the idea of one repository per window if it allowed you to have more than one window open at a time. One nice bit of integration with Tower is its built-in support for both Github and Beanstalk. Provide Tower your credentials for either service, and you can create and clone repositories on them easily.

Tower also makes it easy to stage (see image below), by selecting specific files, those which will go into any given commit. You can even break this down further by staging particular changed parts. For instance, if you have a file with two changes in it, but only want to commit one of the changes, you can do this in the browse view by looking at the Unstaged changes and mousing over to the left side of the view and selecting which chunks you want to commit. You can also adjust the granularity of the chunks using the Diff Tool, making the chunks bigger or smaller.

Click image to enlarge.

Update Safari Browser For Mac Os X

I do wish that Tower had built in support for Git's svn support, however. This is a glaring feature omission that I would like to see in an upcoming version to really make this a solid application. SourceTree has this ability, which gives it a leg up on Tower in the functionality department. Other Subversion users, or users who have to deal with a Subversion repository but want to take advantage of Git's many features, would sorely appreciate this feature.

Mac Os X Download Free

All in all, Tower is a great Git client. It's still a new-comer to the Mac, but it makes using Git very easy, despite a few missing features. The developers are responsive, however, and the updates are frequent. The 30-day trial should be sufficient to determine whether Tower is the right Git client for you.