Please find below the steps for
editing Hosts file in Mac machine:
1)
Type “sudo vi
/etc/hosts” and hit enter
2)
Enter your password
3)
Go to the end of the
line and press “Esc + i” to invoke Insert mode
4)
Add
“57.12.42.10
git.emirates.com” in the next line
5)
Press “Esc + : + wq”
to save and close the vi editor.
6)
To verify the
changes type “cat /etc/hosts”
After adding the hosts entry, we
are able to access the Git repository from Mac machines.
No comments:
Post a Comment