DEV Community


using github desktop with Github.

front_end_shifu_2022 profile image ・2 min read

GitHub desktop :
GitHub Desktop is an application that enables you to interact with GitHub using a GUI instead of the command line or a web browser. You can use GitHub Desktop to complete most Git commands from your desktop with visual confirmation of changes. You can push to, pull from, and clone remote repositories with GitHub Desktop, and use collaborative tools such as attributing commits and creating pull requests. It's much easier then git and very convenient.

GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. It's consist of repositories, branches, commits, and Pull Requests.

A repository is usually used to organize a single project. Repositories can contain folders and files, images, videos, spreadsheets, and data sets – anything your project needs.

Branching is the way to work on different versions of a repository at one time.
By default your repository has one branch named [main] which is considered to be the definitive branch. We use branches to experiment and make edits before committing them to [main]. Its a kind of copy of [main] branch.

Make and commit changes:
On GitHub, saved changes are called commits. Each commit has an associated commit message, which is a description explaining why a particular change was made. Commit messages capture the history of your changes, so other contributors can understand what you’ve done and why.

Open a Pull Request:
Pull Requests are the heart of collaboration on GitHub. When you open a pull request, you’re proposing your changes and requesting that someone review and pull in your contribution and merge them into their branch. Pull requests show diffs, or differences, of the content from both branches. The changes, additions, and subtractions are shown in green and red.
As soon as you make a commit, you can open a pull request and start a discussion, even before the code is finished.

Merge your Pull Request
In this final step, it’s time to bring your changes together – merging your readme-edits branch into the main branch.

Thanks for reading.
That's all for now, I'll share more in my up-coming posts.

Discussion (0)

Editor guide