GitHub Desktop is a fast and easy way to contribute to projects from Windows and OS X, whether you are seasoned user or new user, GitHub Desktop is designed to simplify the all process and workflow in your GitHub. GitHub Desktop is an open source Electron-based GitHub app. It is written in TypeScript and uses React.
source : https://www.techefeed.com/internet/get-started-github-desktop/
It has many awesome features like:
- Attributing commits with collaborators easily
Gitlab with github desktop 1. GitLab GitHub 2. Go www.gitlab.com and login 3. If you don't have an account register here 4. Create New Project 5. Name of your project. Copy the URL of your project 7. Search GitHub Desktop in google search engine Click the first Link 8. Click the download button. Like GitHub, GitLab enables you to store code and use git's version control capabilities. However, it also provides more nuanced user permissions and includes built-in Continuous Integration (CI). This eliminates the need for the pull requests used in GitHub. With that said, GitLab is still not as popular as GitHub.
- Similarly, GitLab has integrated CI/CD, but also offers additional capabilities such as application performance and server monitoring. GitLab also includes static and dynamic security testing and container scanning. GitHub does not come with a deployment platform and needs additional applications, like Heroku, in order to deploy applications.
- GitHub Desktop 1.1k is an amazing way for people to locally edit their GitHub 6 file repositories without any scripting, but did you know you can also use GitLab 68 repositories with GitHub Desktop? For educators, this is very valuable as with the open source app GitLab you can use one of your own institutional servers for storing files.
2. Checkout branches with pull requests and view CI statuses
3. Syntax highlighted diffs
4. Expanded image diff support
5. Extensive editor & shell integrations
6. It's open source
I personally prefer to use Github Desktop as my main git client rather than Source Tree or Gitkraken.
Last week, the company I work for, decided to move all it's codebase from Github to Gitlab. The reason is because Gitlab has some out of the box Features like integrated devops inbuilt into their system unlike github where you'll have to do all these yourselves.
Pre-gitlab we were using like 5 different tools and the complexity of integrating them all was getting out of hand and also quite expensive, trying to tie together New Relic, Codeship, Github, Jenkins, Chef, and Terraform was no fun… not to mention Digital Ocean, AWS, Azure, and Mongodb Cloud
I am used to the GitHub environment because that's all I've always worked with but I saw this as a challenge to adapt to a new environment.
I was ready to move to Gitlab but I wasn't ready to leave GitHub Desktop, so I decided to use Gitlab and GitHub Desktop. I began making research on how to use them both and then my boss gave me a useful resource that helped a lot, see link below:
It helped a lot but it was missing one vital step which was how to use GitHub Desktop with a Gitlab Repo that has 2FA(two-factor authentication) enabled.
so let's revisit the steps from scratch then I'll put in the vital step.
Disclaimer: These steps are valid for only users of the GitHub Desktop Native
Step one:
i. Download GitHub Desktop here
ii. Go to your Gitlab repo
iii. Click on settings
Step two:
What we'll do now is to generate an access token for our GitHub desktop.
After clicking on settings
i. Click on Access Tokens
ii. Generate an access token
iii. Copy your new access token and store it somewhere as we'll use it later:
Github Desktop Gitlab Ssh Key
Step three:
i. Head over to your repository and select https and copy the link,
3. Syntax highlighted diffs
4. Expanded image diff support
5. Extensive editor & shell integrations
6. It's open source
I personally prefer to use Github Desktop as my main git client rather than Source Tree or Gitkraken.
Last week, the company I work for, decided to move all it's codebase from Github to Gitlab. The reason is because Gitlab has some out of the box Features like integrated devops inbuilt into their system unlike github where you'll have to do all these yourselves.
Pre-gitlab we were using like 5 different tools and the complexity of integrating them all was getting out of hand and also quite expensive, trying to tie together New Relic, Codeship, Github, Jenkins, Chef, and Terraform was no fun… not to mention Digital Ocean, AWS, Azure, and Mongodb Cloud
I am used to the GitHub environment because that's all I've always worked with but I saw this as a challenge to adapt to a new environment.
I was ready to move to Gitlab but I wasn't ready to leave GitHub Desktop, so I decided to use Gitlab and GitHub Desktop. I began making research on how to use them both and then my boss gave me a useful resource that helped a lot, see link below:
It helped a lot but it was missing one vital step which was how to use GitHub Desktop with a Gitlab Repo that has 2FA(two-factor authentication) enabled.
so let's revisit the steps from scratch then I'll put in the vital step.
Disclaimer: These steps are valid for only users of the GitHub Desktop Native
Step one:
i. Download GitHub Desktop here
ii. Go to your Gitlab repo
iii. Click on settings
Step two:
What we'll do now is to generate an access token for our GitHub desktop.
After clicking on settings
i. Click on Access Tokens
ii. Generate an access token
iii. Copy your new access token and store it somewhere as we'll use it later:
Github Desktop Gitlab Ssh Key
Step three:
i. Head over to your repository and select https and copy the link,
ii. open GitHub Desktop from the file bar, select clone repository
iii. After selecting it, a modal would pop up, select URL and place the https link we copied from gitlab inside the URL field and select the destination folder.
iv. After filling all those fields, select clone
v. While cloning, it would pop up a modal titled authentication failed, you would then be required to put in your username and password.
N/B: Your username is mostly your email address or whatever username you used to access your gitlab organization or repo.
vi. Then your password would be the personal access token we created before, so head over to wherever you may have stored it and paste it.
vii. After that click login or authenticate and if all goes well you should see something like this
After that you would see this
Then you can fetch from the origin, see all branches and use it as your preferred git client.
Github Desktop And Gitlab
And that's how to use Gitlab with GitHub Desktop.
Github Desktop And Gitlab Design
If you have any question or you don't understand any step feel free to reach out to me on twitter or drop your questions in the comments section.
Github Desktop And Gitlab Training
Thanks!!!