Beginner's Setup Guide for Git & Github on Mac OS X. There is an updated version of this post for OS X 10.9. While the steps below should still work, I recommend checking out the new guide if you are running 10.9! There are already plenty of guides that explain the particular steps of getting Git and Github going on your mac in detail. Anyone know how to uninstall Git? I would like to uninstall Git using the Uninstall.sh file that came in the git-2.0.1 install bundle. I am unable to find the Uninstall.sh file using Terminal. When I enter 'git -version' in the command line, I get 'Illegal Instruction' in my Terminal window. (See image below). Uninstall was unable to delete the file 'C: Program Files Git git-cheetah gitshellext.dll' The correct fix would be to unregister the dll and delete it. Open the Command Prompt window; execute regsvr32 -s -u gitshellext.dll; delete 'C: Program Files Git git-cheetah gitshellext.dll' If that does not work here's an ugly workaround. In this tutorial, I will go over the instructions to setup a git server on Mac OS X. Here, I will assume that the server IP address is 12.34.56.78. First, you will need to add a user named git, into which client machines will ssh into.
There is an updated version of this post for OS X 10.9. While the steps below should still work, I recommend checking out the new guide if you are running 10.9!
There are already plenty of guides that explain the particular steps of getting Git and Github going on your mac in detail. However, I had difficulty finding one that explained every step required in order with simple enough instructions for Terminal novices to follow along with autonomously.
So I decided to write one myself.
Background
I enjoy helping people become more efficient and productive, particularly when it comes to their computers and mobile devices. At a recent job, the staff design team was beginning a period of close collaboration with the front-end development team in the interest of achieving the best possible product in the shortest period of time.
However, there was a slight 'problem.' The project's codebase was exclusively managed via Git repositories on Github. Most of the designers had never worked with Git, let alone ever configured it on their workstations.
Most of the designers had some knowledge of the technologies that went into the codebase, particularly presentation layer tech like HTML and CSS. Some even knew programming languages like Javascript, PHP, and Ruby.
In an effort to unleash this previously untapped resource for a round of intense polishing and bug-fixing, I took it upon myself to write a step-by-step guide that any member of our studio could follow and be up and running with developer tools, Git, connected to Github, and ready to work on the project codebase.
This then is a slightly abbreviated1 version of the guide I distributed out to the team. Ultimately just a few days after releasing it, nearly everyone in the office — including design, production, management, and even a few devs setting up new machines — was able to at least view the latest code on their workstations.
Aside from the fact that my guide helped others quickly get through the arduous process of installation and configuration, I was happy to have it as a quick reference for myself when setting up new machines of my own. Enjoy!
Getting started
This tutorial assumes you're using a Mac running at least OS X 10.7. If you are unsure of what OS you have, go up to the top left of your screen, click the Apple menu, and select 'About This Mac.'
You'll also need to ensure that your user account on your computer has admin privileges and that you know your account's password.
Install the Command Line Tools for OS X
Xcode is a nearly 4GB developer suite Apple offers for free from the Mac App Store. However, for the purposes of getting Git and Github setup, you'll only need a specific set of command line tools2 which fortunately take up much less space.
If you don't mind the 4GB, by all means go for Xcode. Radiant 3 13 2 – pure arcade shooter. Otherwise, you'll have to go to connect.apple.com and register an Apple Developer account in order to download these tools.
Once you've registered, they can be found at developer.apple.com/xcode by clicking on 'View downloads' and finding the appropriate command line tools for your version of OS X in the list.
- If you are on OS X 10.7.x, download The 10.7 Command Line Tools. If you are on OS X 10.8.x, download The 10.8 Command Line Tools.
- When your download finishes, go ahead and open the DMG.
- Run the Command Line Tools installer.
A note about the Terminal
The Terminal application comes pre-installed with OS X, and can be found in the Applications -> Utilities folder. You can also quickly access it using Spotlight.
The terminal has a variety of uses, but for the purposes of this tutorial we'll be using a syntax/command set called Bash. Terminal is already configured to use this syntax.
When you enter a command and press return/enter, often times the terminal will execute it and complete the task immediately.
Sometimes it will log information in the window while it's working, but other times you might feel like it isn't doing anything at all.
Some of the commands later in this tutorial can take a few seconds (or minutes) to complete, so don't type anything into the terminal window or close the terminal window until you see it present you with a fresh prompt ending in yourusername$
.
For the purposes of this tutorial, commands that I intend for you to type will be preceded with $
, but don't include that symbol when you enter the commands. It's purely meant as an indicator and reference to the $
that appears in your terminal prompt.
Lines that contain comments/notes from me to will be preceded with #
and will be dimmed. Don't type these either.
Make sure to press return after typing a command before you enter the next one.
Installing Git
'Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.'
We need to install Git onto your computer. It won't have an icon in your dock, but it can be used by the Terminal (and other applications, more on that later). Wd for mac and windows.
OS X comes with a fairly old version of Git pre-installed, so we'll want to make sure that your terminal is using a more updated version.
One specific reason you'll want to have a newer version of Git than the one that ships with OS X is to take advantage of a nice authentication feature that allows you to seamlessly interact with Github.
Download the latest stable release of Git. It should start downloading a DMG which for some reason will include the words 'Snow Leopard' in the file name…don't worry, it works with Lion and Mountain Lion just fine.
When it's done downloading, open the DMG and run the package installer.
Note: If you are using OS X 10.8 and haven't already modified your security settings to allow the installation of third-party applications, you'll need to make that adjustment3 before OS X lets you install these tools.
Once the installer has finished, open the Terminal app and type
git --version
followed by the return key. Note that there are two dashes, not one.The terminal should report back with your currently installed Git version.
If it reports a Git version that matches the version number marked on the DMG you downloaded (as of writing, this would be 1.8.1.3) proceed to Configuring Git identification, otherwise you'll need to execute the following:
Configuring Git identification
Now let's configure your Git installation so other folks who might be working on projects with you know who's doing all of the great work coming from your computer. Download microsoft word on macbook pro free.
Setup Github
'GitHub is a web-based hosting service for software development projects that use the Git revision control system.'
Go to Github.com and create a free account if you haven't already.
Github Keychain Helper
http://txrtyxj.xtgem.com/Blog/__xtblog_entry/19076474-adobe-premiere-pro-patch-mac#xt_blog. To save time in the future, we'll install a utility that will allow your computer to authenticate with Github automatically instead of having to enter your username/password during each session.
First, check if the helper is installed by typing git credential-osxkeychain
into the terminal.
If the helper is installed, the terminal will give you instructions on how to use it:
If see the above message, you are now able to access Git repositories using the HTTPS method. There's a very good chance that this is the only method you will need to access repositories and you can move on to my final notes.
If you don't have the keychain helper already installed, you'll see this instead:
To install the keychain helper, execute the following commands:
Once again, if the helper has been installed successfully, the terminal will give you instructions on how to use it:
If see the above message, you are now able to access Git repositories using the HTTPS method. There's a very good chance that this is the only method you will need to access repositories and you can move on to my final notes.
If you don't see the above message, you hit a snag along the way. Try going through the keychain helper install steps again.
Otherwise, if you have a specific reason that you need to access Git repositories using SSH, proceed to SSH Keys.
SSH Keys (optional step)
'SSH uses public-key cryptography to authenticate the remote computer and allow it to authenticate the user, if necessary. There are several ways to use SSH; one is to use automatically generated public-private key pairs to simply encrypt a network connection, and then use password authentication to log on.'
An SSH key basically lets your computer uniquely identify itself when it connects to servers. If Github is aware of the key your computer is using, you won't have to enter your Github username/password every time you connect.
Check for pre-existing SSH keys on your computerHow To Uninstall Github Desktop
Let's see if your computer has one or more keys already installed:
If you get the response 'No such file or directory', skip to Generate a new SSH Key.
Otherwise, you'll need to backup and remove your existing SSH keys.
Backup and remove your existing SSH keys. Generate a new SSH keyNow we'll create a new SSH key to use with Github.
When it asks you to enter a file name in which to save the key, just press return/enter (leave the prompt blank).
You will then be asked to enter a passphrase and confirm it. Don't make this blank, and don't make it an easily guessable. This prevents someone from easily acquiring and using your SSH key to impersonate you. Don't worry, you won't have to enter this key much (if at all) after initial setup.
Press return after each time you've entered your selected passphrase. You won't see the characters or bullets, the cursor will stay in the same spot as if you aren't typing.
If you make an error entering your password one of the times, just press return and it will prompt you to try again.
Once you've successfully set your passphrase, the terminal will report that your key has been saved and will present you with some sweet ASCII art.
Add your SSH key to GithubIn order for your computer to access Github without you having to enter your username/password all the time, Github needs to know the contents of the SSH key you just generated.
Now we'll add your key to Github:
- Visit your account settings.
- Click Add SSH key.
- Enter a descriptive title for the computer you're currently on, e.g. 'Work iMac' into the Title field.
- Paste your key into the Key field (it has already been copied to your clipboard).
- Click Add Key.
- Enter your Github password.
Now let's test that it all worked.
Congratulations!
Your Mac is now up and running with both Git and Github. I intend to write another post about some of the commonly used commands I always find myself looking up syntax for, as well as those that members on the team had to learn in order to effectively take part in the production process.
Recommended tools
Text Editors
If you're just getting your feet wet with writing code, you'll want to look into a text editor that is purpose built for that task.
My hardcore colleagues wouldn't leave me alone if I didn't also mention command-line editors like Vim and Emacs, but I'd recommend one of the previously listed apps for getting started.
I don't recommend using TextEdit as it doesn't offer syntax highlighting, and I'm personally not fond of Dreamweaver for writing code as I feel it allows its WYSIWYG mode to be used as a crutch. That said, Dreamweaver's predecessor4 in Adobe's product lineup was what I learned to write HTML on, so there's that.
However with the explosion of online code teaching platforms out there (and Firebug/DOM inspector tools), I don't see the need to use a WYSIWYG editor anymore.
Git GUI Tools
When I first started dabbling with Git, I used the popular Tower app to manage my repositories. It has a fantastic interface and offers most of the features of the command line app.
However when we began this endeavor at my past job, the development team and I wanted to ensure that all persons with access to the codebase thought about what the actions they were going to take, and deliberately execute commands.
How To Uninstall Git On Mac
GUI tools are great, but they can sometimes allow disastrous things to happen with the push of a button. Additionally they can abstract away the syntax of the language/protocol they are built upon, and as a result leave users dependent on the GUI rather than knowledgeable about the underlying technology.
If you must use a GUI tool, by all means do. However in the circumstances I mentioned, it wasn't an option we wanted to offer.
Terminal Configuration
I've been enjoying iTerm2 for a few small perks it offers, mainly the ability to have perfect representation of the Solarized Dark theme.
Feedback
If there are any steps/instructions I've written that have been outdated by newer information/technology, are simply wrong, or could be explained better please feel free to contact me on Twitter where I'm @burnedpixel.
The stack for this project was very complicated and resulted in us using Vagrant and VirtualBox to literally get virtual instances of the dev environment going on each workstation.↩
I had hosted the appropriate DMGs for the 10.7 and 10.8 tools on a local fileserver to speed up this step. Unfortunately the general public will have to go to Apple's developer site, sign up for a free account, and download the tools from there.↩
Security settings adjustment to install Git:
- Go to Apple Menu > System Preferences
- Click Security & Privacy
- Click the lock icon in the bottom left and enter your account password
- Select 'Anywhere' for the 'Allow applications downloaded from' setting
- Close System Preferences
While I may have been exposed to making web pages by software like Claris Home Page and Microsoft FrontPage, I really learned to write HTML by hand from a software suite called GoLive Cyberstudio. In what has now become a familiar process, Adobe bought GoLive out so they could integrate Cyberstudio into their product lineup. In what has now also become familiar, Cyberstudio (simply rebranded as GoLive) rarely got any updates and lived a deprecated existence until it's death nearly 10 years later.↩
/Mac Uninstaller /How to Uninstall Xcode on Mac Completely [2020 Update]
Today, Let's discuss how to uninstall Xcode on Mac to free up more space.
Xcode is created by Apple as one of the best developer's toolkits that they can use for iOS and Mac app development. However, the projects that are made using Xcode will take up a huge space on your Mac's storage.
If you want to uninstall Xcode 10, 11 or other versions to free up more space on your Mac, we will show you about the tactics to uninstall Xcode on Mac as follow. Just keep on reading to find out!
Article GuidePart 1. Do I Need Xcode on My Mac?Part 2. How to Completely Delete Xcode on Mac?Part 3. How to Uninstall Xcode on Mac ManuallyPart 4. How to Delete Xcode Files Quickly from MacPart 5. Conclusion
Part 1. Do I Need Xcode on My Mac?
Xcode is a package wherein it is used to develop some tools on your Mac and iOS operating system. This actually includes several types of utilities that are actually useful and is required for a development process for applications.
Having this program installed on your Mac is just as simple as downloading it from the Mac store. But making use of the Xcode app for a long period of time can actually make gigabytes of data in your cached. The worst part of it is that it can even eat up some of your storage space even after your work is done. Some of its additional aspects can include other things like the Interface, iPhone Simulator, Quartz Composer, Dashcode, dtrace, perl, python, ruby, and so much more.
This app will also create a lot of temporary cache files and as time pass by, these files will become hidden and will take up your storage space, eventually make your Mac running slow. Also, these junks will slow your Xcode down, and worst, it will become unresponsive.
So, do you need Xcode on your Mac? Now, if this happens to your Mac, there might be a need for you to clean your Xcode by deleting some apps and all of your old caches. However, this cannot be done with just a normal process of uninstalling it.
When you are going to uninstall Xcode on Mac, it is not as simple as dragging the icon to your Trash. This will not uninstall your Xcode completely. Some of its cache, files, and other things associated with it will remain in your hard drive.
With this issue, there are actually several questions that you might be dealing with now:
- Is it safe to delete Xcode?
- Can I delete Xcode from my Mac?
- Can I completely uninstall the Xcode from my Mac?
The answer to these questions is really simple and it is a big YES! We have included here ways on how you can actually completely remove the Xcode app from your Mac together with all the files that are associated with this app. And doing this will actually give you more disk space for your new apps and files and it will also boost the speed performance of your Mac.
Full Solutions to uninstall Xcode on Mac including 10, 11 or other versions are as follow.
Part 2. How to Completely Delete Xcode on Mac?
How to Completely Delete Xcode from Mac? Now that you are able to clean up any Xcode build files on your Mac PC using the iMyMac Mac Cleaner, then the next thing that you should do is for you to completely uninstall Xcode from your Mac PC.
The Mac Cleaner allows you to uninstall all the apps like Microsoft Office that you no longer need from your Mac, then you can save more space to store other files or apps that you want. It will also help you locate the images on your Mac and get rid of the unnecessary photos to boost the speed performance of your Mac PC.
Before you delete some files from your Mac PC, you will be able to preview them first. This means that all the things or actions will be in control. Follow the steps below on how to completely uninstall xcode 10 or other versions:
Step 1. Download and Install iMyMac Mac Cleaner on Your Mac
Download the iMyMac Mac Cleaner for free from the official website https://www.imymac.com and then have it installed on your Mac PC. Then go ahead and run the program. Select the module 'Uninstaller'.
Smart cleaning tool for Mac that helps you locate and delete all kinds of junk files to free up storage space.Best Mac uninstaller that can uninstall apps on Mac completely with the leftover files to speed up Mac.Your trusted privacy protection expert that can clear all browers' tracking cookies, searching histories and other data.Free Download
Step 2. Scan All The Softwares on Your Mac
After choosing Mac Uninstaller, go ahead and click the Scan button. The program will then start scanning your applications on your Mac automatically.
Step 3. Choose and Clean The Unneeded Xcode on Mac
Once that the scanning is complete, you will be able to see all the software listed on your main screen. From that list, go ahead and choose the Xcode app. After selecting that, go ahead and click on the Clean button. That's all, how easy it is to uninstall Xcode on Mac with iMyMac!
Tip: Powerful Features of iMyMac Mac Cleaner:
- It is powerful to uninstall apps or software unsafe/useless from your Mac PC.
- It is quick and efficient when it comes to scanning your Mac
- It will help you remove all the software together with its associated files that you no longer need.
- It will be able to show you all the scanned results and sizes, time, and more.
Part 3. How to Uninstall Xcode on Mac Manually
We are going to show you here that standard method on how you can remove your Xcode 10, 11 or other versions from your Mac PC.
Here are the steps that you need to take to uninstall Xcode on Mac:
- Go to your Applications folder.
- Drag the Xcode icon to your trash.
- Clean up your Trash bin.
Doing this will remove the main app. Let us proceed and remove the rest of your Xcode files.
All you have to do is to follow these simple instructions. Please keep in mind that you have to follow instructions carefully for you to avoid having bad consequences:
- Launch Finder on your Mac.
- From the menu, go ahead and click Go.
- After that, go ahead and go to Folder.
- Go to ~/Library/Developer/.
- After that, look for Developer folder.
- Once you find that folder, delete it.
If you are actually using the earlier version of Xcode on your Mac like the 7 or 8, they will definitely leave some marks all over the place.
Now, for you to remove these marks or your old Xcode, proceed and do the following steps:
- Launch Terminal on your Mac.
- Run this access sudo: /Developer/Library/uninstall-devtools --mode=all.
- Enter and confirm your admin password.
- This point, the script will run on your Mac. Wait for it to finish.
- One the script is done running, go ahead and quit the Terminal.
Now, there is just one more thing that you need to do for you to remove Xcode application cache completely from your Mac PC. In some cases, on some versions of the app, they are actually left during purging so if this is the case, you can go ahead and visit this directory.
This is for you to be assured that there are no files left:
- Search -/Library/Caches/com.apple.dt.Xcode file on Mac.
- If you found out that there are some files left, you can go ahead and simply clean up the folder.
Once that you have fully removed all the traces of Xcode on your Mac PC, go ahead and reinstall the app. This time, you should be able to experience a faster experience using your Mac. You will also have more space on your Mac after you uninstall Xcode on Mac.
Part 4. How to Delete Xcode Files Quickly from Mac
About clean old file, here is the easiest way to do with iMyMac. If you are thinking that doing the manual way on deleting your Xcode on your Mac is too risky, we are going to show you another simplest and easiest method without having any risk.
Here are what you need to do using the iMyMac Mac Cleaner:
- Launch the iMyMac Mac Cleaner on your Mac and choose Master Scan from the left panel of your screen.
- Click on the Scan button.
- Choose the Xcode Junk from the category of junk files shown on your screen.
- After that, go ahead and click on the Clean button.
From here, you will be able to free up some of your storage space and boost up the speed performance of your Mac PC.
Part 5. Conclusion
Xcode is commonly used by developers of Mac app and for other iDevices. However, not all people will know about this because it is unlikely to be used. This is the reason why some users would want to uninstall Xcode on Mac. You can drag them to your Trash Bin but there will always be some file residue that will stay.
Luckily, we have here ways on how you can do this. You can either do it manually or in the easiest way using the iMyMac Mac Cleaner. Doing this will maintain your Mac's performance and will let you have more of your storage space which will give you the privilege to store other applications or files that you most need.
ExcellentThanks for your rating.
Rating: 4.5 / 5 (based on 70 ratings) Microsoft word for the mac free. Show all open windows on mac.
People Also Read:
PowerMyMac
A powerful all-in-one App for Mac
Free DownloadDavy2018-12-19 06:04:06
I have had the Xcode 10beta installed on my Mac but I always get a crash error during the course I take on Xcode, so I dragged it to trash but left some files. Thanks for your tips, now I have removed it completely!
iMyMac2018-12-19 09:13:05
Happy to hear that.
Powerful Uninstall Software on Mac
Free Download