Skip to content

Commit

Permalink
GUI vs. CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
nmagee committed Aug 7, 2024
1 parent a5e433c commit f3f4370
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,33 @@ nav_order: 2

Setting up git and authenticating yourself to GitHub is an important first step in managing and tracking your code and various projects. Follow the steps for your platform below

## Command-Line Git
## GUI or Command-Line?

Developers should always feel empowered to select and use the tools they feel most comfortable with. There is no superiority or shame in selecting a GUI over the command-line `git` tool. Generally, most every feature is available in either.

While most data scientists tend to use `git` from the command-line, many use a GUI every day.

Advantanges of using a GUI for `git`:

- Simple to use.
- Handles dragging and dropping of files.
- Visually displays changes, errors, and status.
- Makes resolving merge conflicts much simpler.
- [**GitHub Desktop**](https://github.com/apps/desktop) is an excellent, free choice. There are many other free and paid `git` clients available.

Here is what **GitHub Desktop** looks like:

![GitHub Desktop](https://images.ctfassets.net/8aevphvgewt8/5fErhOtgvjrf97d7wOoARB/b262e06c615977f33046c468147aa114/screenshot-windows-dark.png)

Advantages of using the CLI version of `git`:

- Fastest way to access all commands.
- Displays only what the developer wants to see, allowing for focus.
- Might be the only way to use `git` in a remote system (HPC cluster, cloud instances, etc.)

In order to focus on specific operations and workflow steps using `git` this documentation references CLI commands only. We recommend learning those commands to get the concepts, and then learn how they are done in a GUI.

## Command-Line `git`

Data scientists and software developers who write code regularly *greatly* tend to use the terminal/command-line to interact with `git`. This primer assumes this and does not address various GUI tools for working with `git` and GitHub.

Expand Down

0 comments on commit f3f4370

Please sign in to comment.