Git desktop mac os

Git Guides

How to install Git on any OS

Git can be installed on the most common operating systems like Windows, Mac, and Linux. In fact, Git comes installed by default on most Mac and Linux machines!

Checking for Git

To see if you already have Git installed, open up your terminal application.

  • If you’re on a Mac, look for a command prompt application called «Terminal».
  • If you’re on a Windows machine, open the windows command prompt or «Git Bash».

Once you’ve opened your terminal application, type git version . The output will either tell you which version of Git is installed, or it will alert you that git is an unknown command. If it’s an unknown command, read further and find out how to install Git.

Install Git Using GitHub Desktop

Installing GitHub Desktop will also install the latest version of Git if you don’t already have it. With GitHub Desktop, you get a command line version of Git with a robust GUI. Regardless of if you have Git installed or not, GitHub Desktop offers a simple collaboration tool for Git. You can learn more here.

Install Git on Windows

  1. Navigate to the latest Git for Windows installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided in the Git Setup wizard screen until the installation is complete.
  3. Open the windows command prompt (or Git Bash if you selected not to use the standard Git Windows Command Prompt during the Git installation).
  4. Type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git for Windows. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git included with the recommended command prompt, Git Bash . The download source is the same Git for Windows installer as referenced in the steps above.

Install Git on Mac

Most versions of MacOS will already have Git installed, and you can activate it through the terminal with git version . However, if you don’t have Git installed for whatever reason, you can install the latest version of Git using one of several popular methods as listed below:

Install Git From an Installer

  1. Navigate to the latest macOS Git Installer and download the latest version.
  2. Once the installer has started, follow the instructions as provided until the installation is complete.
  3. Open the command prompt «terminal» and type git version to verify Git was installed.

Note: git-scm is a popular and recommended resource for downloading Git on a Mac. The advantage of downloading Git from git-scm is that your download automatically starts with the latest version of Git. The download source is the same macOS Git Installer as referenced in the steps above.

Читайте также:  Gtx 220 windows 10

Install Git from Homebrew

Homebrew is a popular package manager for macOS. If you already have Homwbrew installed, you can follow the below steps to install Git:

  1. Open up a terminal window and install Git using the following command: brew install git .
  2. Once the command output has completed, you can verify the installation by typing: git version .

Install Git on Linux

Fun fact: Git was originally developed to version the Linux operating system! So, it only makes sense that it is easy to configure to run on Linux.

You can install Git on Linux through the package management tool that comes with your distribution.

  1. Git packages are available using apt .
  2. It’s a good idea to make sure you’re running the latest version. To do so, Navigate to your command prompt shell and run the following command to make sure everything is up-to-date: sudo apt-get update .
  3. To install Git, run the following command: sudo apt-get install git-all .
  4. Once the command output has completed, you can verify the installation by typing: git version .
  1. Git packages are available using dnf .
  2. To install Git, navigate to your command prompt shell and run the following command: sudo dnf install git-all .
  3. Once the command output has completed, you can verify the installation by typing: git version .

Note: You can download the proper Git versions and read more about how to install on specific Linux systems, like installing Git on Ubuntu or Fedora, in git-scm’s documentation.

Other Methods of Installing Git

Looking to install Git via the source code? Learn more here.

Get started with git and GitHub

Review code, manage projects, and build software alongside 40 million developers.

Источник

GitHub Desktop

Focus on what matters instead of fighting with Git. Whether you’re new to Git or a seasoned user, GitHub Desktop simplifies your development workflow.

Download the native macOS build for Apple silicon machines. If you don’t know whether your machine has an Apple or Intel chip, see the Apple docs.

By downloading, you agree to the Open Source Applications Terms.

Attribute commits with collaborators easily

Quickly add co-authors to your commit. Great for pairing and excellent for sending a little love/credit to that special someone who helped fix that gnarly bug of yours. See the attribution on the history page, undo an accidental attribution, and see the co-authors on github.com

Checkout branches with pull requests and view CI statuses

See all open pull requests for your repositories and check them out as if they were a local branch, even if they’re from upstream branches or forks. See which pull requests pass commit status checks, too!

Syntax highlighted diffs

The new GitHub Desktop supports syntax highlighting when viewing diffs for a variety of different languages.

Expanded image diff support

Easily compare changed images. See the before and after, swipe or fade between the two, or look at just the changed parts.

Extensive editor & shell integrations

Open your favorite editor or shell from the app, or jump back to GitHub Desktop from your shell. GitHub Desktop is your springboard for work.

Community supported

GitHub Desktop is open source now! Check out our roadmap, contribute, and help us make collaboration even easier.

Источник

flumono / Правильная установка Git на Mac OS X

Дайте команду в терминале
$ git —version
И если вы увидите что то вроде этого
git version 1.9.3 (Apple Git-50)
то это статья для вас. Если вы видите версию 2.3.1 (на момент написания статьи) последняя была такая, то тогда у вас все хорошо.
И так сперва устанавливаем Homebrew, если он у вас еще не стоит.
Просто скопируйте и вставьте эту строку в терминал и запустите ее.
ruby -e «$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)»
После того как Homebrew установиться дайте в терминале команду
brew install git
После того как Git установится дайте команду
export PATH=/usr/local/bin:$PATH
чтобы прописать путь к новой установке Git.
И далее смотрим версию Git
$ git —verrsion
Должны увидеть что то типа этого
Git_Mac_OS_X
git version 2.3.1
Все! Далее чтобы обновлять Git достаточно дать команду
brew upgrade git
Просто не правда ли!?
Пример обновления Git в Mac OS X 10.10.2 через Homebrew
brewGitUpgrade
Вот и получили самую свежую версию Git на Mac OS X
Читайте также:  Что такое виртуальная сеть vpn windows 10 что это

This comment has been minimized.

Copy link Quote reply

dashaderkach commented Apr 9, 2019

This comment has been minimized.

Copy link Quote reply

kalmahik commented Oct 26, 2019

git —verrsion — тут очепятка)

This comment has been minimized.

Copy link Quote reply

SuperEuro2000 commented May 7, 2020

brew upgrade git
Error: git not installed

выходит такая ошибка

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Jul 30, 2020

попробуйте команду $ git —version сразу запустить (у меня началась установка) или как вариант $xcode-select—install команда также активирует установку

This comment has been minimized.

Copy link Quote reply

maureryakov commented Oct 30, 2020

command not found

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Oct 30, 2020

А версия мак ос какая? Если например стоит бета биг сюр то работать не будет

This comment has been minimized.

Copy link Quote reply

maureryakov commented Oct 30, 2020

А версия мак ос какая? Если например стоит бета биг сюр то работать не будет

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Oct 30, 2020

А версия мак ос какая? Если например стоит бета биг сюр то работать не будет

Тогда должно работать, а в терминале сверху bash или zsh?

This comment has been minimized.

Copy link Quote reply

pavelgera commented Nov 3, 2020

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Nov 3, 2020

У меня честно говоря не получилось bash для git завести перешла на zsh.
Если оболочка терминала для вас не принципиальна попробуйте с помощью
chsh -s /bin/zsh
Перейти в оболочку zsh, а после уже команду $ git —version которая должна сразу запустить установку или как вариант $xcode-select—install команда также активирует установку

This comment has been minimized.

Copy link Quote reply

maureryakov commented Nov 4, 2020

У меня честно говоря не получилось bash для git завести перешла на zsh.
Если оболочка терминала для вас не принципиальна попробуйте с помощью
chsh -s /bin/zsh
Перейти в оболочку zsh, а после уже команду $ git —version которая должна сразу запустить установку или как вариант $xcode-select—install команда также активирует установку

Все получилось ребят. Спасибо .

This comment has been minimized.

Copy link Quote reply

mihaluch commented Dec 20, 2020

я все так и делаю, но пишет что не может обновить с сервера ПО. каталина

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Dec 21, 2020 •

я все так и делаю, но пишет что не может обновить с сервера ПО. каталина

Скорее всего тут вам нужно смотреть почему каталина не подтягивает инфу с сервера — мб обновиться до бигсюр, его сейчас официально выкатили и все работает.
Возможно также что ранее ставили отдельный патч с гитом hewbrew или что-то такое, он может в последствии фейлить стандартную установку

This comment has been minimized.

Copy link Quote reply

pypyshkin commented Jan 23, 2021

Приветствую, не случалось ли сталкиваться с таким предупреждением: warning: unable to access ‘/Users/Username/.config/git/attributes’: Permission denied

Не подскажете как это исправить? Не получается синхронизировать локальную папку с сервером (если я правильно вообще диагностирую). Перелопатил кучу ссылок, но понимание так и не пришло откуда ноги растут. Заранее спасибо

This comment has been minimized.

Copy link Quote reply

Asayo31 commented Feb 1, 2021

Приветствую, не случалось ли сталкиваться с таким предупреждением: warning: unable to access ‘/Users/Username/.config/git/attributes’: Permission denied

Не подскажете как это исправить? Не получается синхронизировать локальную папку с сервером (если я правильно вообще диагностирую). Перелопатил кучу ссылок, но понимание так и не пришло откуда ноги растут. Заранее спасибо

Читайте также:  Лучший файрвол для windows 10 2020

Добрый день, вероятно у вас проблема состоит в том, что по умолчанию папка

/.config/ создалась с root доступа, и теперь обычному юзеру недоступна. Можно попробовать сменить папку на папку пользователя. (Лично не сталкивалась поэтому не знаю где искать)
Также на просторах предлагают следующее — «The -R option with chown is to modify the permissions recursively. This will help if you have subfolders under

/.config»
Заменить права и таким образом разлочить папку. Попробуйте

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Git desktop mac os

GitHub Desktop is an open source Electron-based GitHub app. It is written in TypeScript and uses React.

Where can I get it?

Download the official installer for your operating system:

You can install this alongside your existing GitHub Desktop for Mac or GitHub Desktop for Windows application.

NOTE: there is no current migration path to import your existing repositories into the new application — you can drag-and-drop your repositories from disk onto the application to get started.

Want to test out new features and get fixes before everyone else? Install the beta channel to get access to early builds of Desktop:

The release notes for the latest beta versions are available here.

There are several community-supported package managers that can be used to install GitHub Desktop:

  • Windows users can install using Chocolatey package manager: c:\> choco install github-desktop
  • macOS users can install using Homebrew package manager: $ brew install —cask github

Installers for various Linux distributions can be found on the shiftkey/desktop fork.

Arch Linux users can install the latest version from the AUR.

Is GitHub Desktop right for me? What are the primary areas of focus?

This document describes the focus of GitHub Desktop and who the product is most useful for.

And to see what the team is working on currently and in the near future, check out the GitHub Desktop roadmap.

I have a problem with GitHub Desktop

Note: The GitHub Desktop Code of Conduct applies in all interactions relating to the GitHub Desktop project.

First, please search the open issues and closed issues to see if your issue hasn’t already been reported (it may also be fixed).

There is also a list of known issues that are being tracked against Desktop, and some of these issues have workarounds.

If you can’t find an issue that matches what you’re seeing, open a new issue, choose the right template and provide us with enough information to investigate further.

The issue I reported isn’t fixed yet. What can I do?

If nobody has responded to your issue in a few days, you’re welcome to respond to it with a friendly ping in the issue. Please do not respond more than a second time if nobody has responded. The GitHub Desktop maintainers are constrained in time and resources, and diagnosing individual configurations can be difficult and time consuming. While we’ll try to at least get you pointed in the right direction, we can’t guarantee we’ll be able to dig too deeply into any one person’s issue.

How can I contribute to GitHub Desktop?

The CONTRIBUTING.md document will help you get setup and familiar with the source. The documentation folder also contains more resources relevant to the project.

If you’re looking for something to work on, check out the help wanted label.

See desktop.github.com for more product-oriented information about GitHub Desktop.

The MIT license grant is not for GitHub’s trademarks, which include the logo designs. GitHub reserves all trademark and copyright rights in and to all GitHub trademarks. GitHub’s logos include, for instance, the stylized Invertocat designs that include «logo» in the file title in the following folder: logos.

GitHub® and its stylized versions and the Invertocat mark are GitHub’s Trademarks or registered Trademarks. When using GitHub’s logos, be sure to follow the GitHub logo guidelines.

Источник

Оцените статью