Using Git to Open Modified or Changed Files Since Previous Commit

Using Git to Open Modified or Changed Files Since Previous Commit

Save yourself time when coming back to previous work using the git commands diff, status and a bit of bash.

If you want to skip to the goods, this is the command that we will be working up to:

$EDITOR `echo $(git diff --name-only HEAD~ HEAD) $(git status --porcelain | awk '{print $2}')`

Simplifying The Burden of Retracing Steps

Frequent context switching between tasks, returning to yesterday’s work or thinking about how to continue an old project that hasn’t been touched in a while can make any energetic coder feel drained in less time than expected. When you’re in this spot, your tasks may include:

  1. Remembering what problem(s) you were working on
  2. Prioritizing and deciding what the most responsible steps would be to take next in progressing towards your project’s goal
  3. Re-orienting yourself with the code you were in the middle of writing last time (whether you ended your coding session off with a clean repository or not)

git decision-making workflow productivity development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

How long does it take to develop/build an app?

This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.

Developer Career Path: To Become a Team Lead or Stay a Developer?

For a developer, becoming a team leader can be a trap or open up opportunities for creating software. Two years ago, when I was a developer, ... by Oleg Sklyarov, Fullstack Developer at Skyeng company

Git Merge: A Git Workflow explained 

Since my articles on Git Rebase seem to be grabbing a lot of attention since the day 1, I thought of writing another article on Git Merge. If you don’t know how to rebase in Git, please check my last article on Git Rebase.

Tracking a Developer’s Journey From Documentation Visit

Measuring website activity provides only half the story. See how to best track the developer's journey and what funnel stages makes sense for API-first products

Offshore Software Development - Best Practices

To make the most out of the benefits of offshore software development, you should understand the crucial factors that affect offshore development.