ardalis

Steve Smith, software craftsman

Connect with me:

  • Blog
  • Training
  • Mentoring
  • Dev Tips
  • Architecture eBook
  • Tools Used
  • About
Home Archives for GitHub
Enforce Developer Workflow Policies with Branch Protection

Steve Smith 11 Sep 2019 Leave a Comment

Enforce Developer Workflow Policies with Branch Protection

A frequent question I hear from clients is some variant of “Ok, Continuous Integration is great, but how do we get everybody on the team to pay attention to it?” This is obviously a bigger problem if the question is coming from a lone junior developer, as opposed to a technical manager. In the case […]

Filed Under: Software Development Tagged With: ci, code quality, continuous integration, git, GitHub, process, quality, workflow

How to Add Files to a GitHub Repo You Don’t Own

Steve Smith 2 May 2019 Leave a Comment

How to Add Files to a GitHub Repo You Don’t Own

There are a bunch of GitHub (and other git host) repositories that aren’t really for software projects, but rather are for documentation or other resources. For example, the ASP.NET Core docs, or various awesome lists, or the slides and materials from conferences like Stir Trek. Frequently, even as a non-developer, you may want to contribute […]

Filed Under: Productivity, Software Development Tagged With: community, fork, git, GitHub, pull request, source control

Easily Add Images to GitHub

Steve Smith 31 Oct 2018 2 Comments

Easily Add Images to GitHub

When working with GitHub on things like ReadMe.md files, it’s often helpful to include pictures. Unfortunately, when editing markdown files online, there’s no built-in capability to add images: Typically, this would mean you would need to create an image yourself and commit it into your repository somewhere so you could then reference it. It’s much […]

Filed Under: Software Development Tagged With: GitHub

GitHub Octotree Chrome Extension

Steve Smith 21 Feb 2018 4 Comments

GitHub Octotree Chrome Extension

If you use GitHub a lot, as I do, you may appreciate this great Chrome extension, Octotree. Octotree is a free extension that adds a treeview navigation control to GitHub (and GitLab Enterprise, according to their docs) repositories, making it much easier to navigate around larger projects. You can see it in action here: I’ve […]

Filed Under: Software Development Tagged With: git, GitHub

Keep master and origin branches working if possible

Steve Smith 22 Nov 2017 Leave a Comment

Keep master and origin branches working if possible

Here are two tips that teams I work with have found useful when working with git for larger projects with many team members that I thought I would share: Only merge into master if code is working The first tip is that you should only merge (or commit, but that should be rare) into master […]

Filed Under: Software Development Tagged With: git, GitHub, tip

Show All GitHub Issues Assigned to Me

Steve Smith 5 Jul 2017 Leave a Comment

Show All GitHub Issues Assigned to Me

I’m a big fan of GitHub and the workflow it provides. I find it to be very productive and collaborative, as well as lightweight. I work on quite a few different GitHub repositories, either for my own projects, for open source projects, or for clients. It’s especially helpful in any project with more than a […]

Filed Under: Software Development Tagged With: git, GitHub, tip

Why Delete Old Git Branches?

Steve Smith 20 Jun 2017 5 Comments

Why Delete Old Git Branches?

It’s a common housekeeping practice to delete git branches once they’re no longer used, but this practice isn’t necessarily universal, or universally understood. Why should you delete old branches from your git repositories? There are two main reasons: They’re unnecessary. In most cases, branches, especially branches that were related to a pull request that has […]

Filed Under: Software Development Tagged With: git, GitHub

How to Make Git Forget Tracked Files Now In gitignore

Steve Smith 28 Mar 2017 2 Comments

How to Make Git Forget Tracked Files Now In gitignore

When you set up a new git repository, if you don’t properly configure a .gitignore file at the start, it can bite you later if you’ve already committed and pushed files that you really wished you’d kept out of the repo. If you’re working with GitHub, and you’re starting the repository from GitHub (rather than […]

Filed Under: Software Development Tagged With: git, GitHub

Clean up unused git branches

Steve Smith 22 Feb 2017 4 Comments

Clean up unused git branches

If you’re using git and creating branches, then making pull requests, and ultimately merging them back into your main/master branch, you may end up with unused branches cluttering your repository. They don’t really hurt anything, but they can add some clutter and make it more difficult to find the branches that are actually in use. […]

Filed Under: Software Development Tagged With: git, GitHub, tip

GitHub Pull Request Checklist

Steve Smith 14 Feb 2017 7 Comments

GitHub Pull Request Checklist

I really like the workflow that GitHub Pull Requests allow. It’s great even in tiny projects to be able to get a code review for a given set of changes, and the UI for GitHub’s Pull Requests is better than any other source control system I’ve used (and doesn’t require buying an expensive tool or […]

Filed Under: Software Development Tagged With: git, GitHub, tip

  • 1
  • 2
  • Next Page »

Online Training

  • ASP.NET Core Quick Start
  • Domain-Driven Design Fundamentals
  • Refactoring Fundamentals
  • Kanban Fundamentals
  • SOLID Principles of OO Design
  • Pair Programming

About Me

Steve is an experienced software architect and trainer focused on improving team skills with DDD and ASP.NET Core. His courses on Pluralsight and DevIQ help developers write better, more maintainable code. He is available for application assessments and team mentoring engagements.

Sign up to receive a free developer tip from Steve in your inbox every Wednesday.

Free Architecture eBook

Architecting Modern Web Applications with ASP.NET Core and Microsoft Azure
Get the Book!

Recent Articles

  • Using Grep to Find Strings in Markdown .md Files on Windows
  • Domain-Driven Design with ASP.NET Core Workshop
  • Moving from Controllers and Actions to Endpoints with MediatR
  • Sketch Themes for Prototypes
  • Be Humble and Kind

Popular Articles

  • Force Nuget to Reinstall Packages without Updating 1,081 views
  • The More You Know The More You Realize You Don't Know 680 views
  • Easily Add Images to GitHub 559 views
  • Using MediatR in ASPNET Core Apps 478 views
  • SQL Server Error User Group or Role Already Exists in the Current Database 462 views

Categories

  • Iraq (118)
  • Personal (6)
  • Productivity (74)
  • Security (5)
  • Software Development (435)
  • Uncategorized (890)

Recent Tweets by @ardalis

Tweets by @ardalis

Copyright © 2019 · Streamline Pro Theme on Genesis Framework · WordPress · Log in