560 blogs tracked4,950 posts indexed

#git

9 posts · 6 companies · newest first

Curated view of this subject:Topic: Git20
4

New: In-browser Python/Pandas/Git exercises, with AI support (opens on the source site)

Over my 30+ years teaching Python, I’ve included practice exercises in all of my courses. And when I started to teach Git and Pandas, I made sure to include practice […] The post New: In-browser Python/Pandas/Git exercises, with AI support appeared first on LernerPython.

pythonai-assisted-codingexcerpt only · body stays at the source
From the web
5
Rob Allenakrabat.com ↗

Fixing two minor git irritations in my OSS fork workflow (opens on the source site)

For OSS work, I work with two git remotes: upstream: the canonical OSS project repository, where main is the default branch and is what gets released. origin: a personal fork. All my feature branches live here. I set up locally like this: Fork the project repo to my account. Clone my fork locally, so the origin remote is my fork. Set an upstream remote using git remote add upstream . and then when working on… continue reading.

developmentgitexcerpt only · body stays at the source
From the web
6

Git Unstage Before First Commit (opens on the source site)

Here's how to unstage files before the first commit. You've created a new repo. It's clean and fresh, then you go for the first commit. You add your current directory, then look at your status... A deflated sigh. So soon, too soon, you have sullied your pristine repo by preparing to commit a bunch of generated files. Of course, you don't want these in your repo. You only want source code. Well, you try the usually trick to start the file staging over: git restore --staged . It doesn't work. You ask for help and get this alternate: git rm --cached -r . It works! Yay! Then you learn of this…

gitexcerpt only · body stays at the source
From the web
8

git pre-commit hook for code beautification (opens on the source site)

Hi. In this post I will share a git pre-commit hook I created for aiding with code beautification. In Linux, I work in two different coding styles: User space and Kernel. The Linux kernel has a very specific coding style and every commit to kernel must adhere to that style. The Linux kernel provides a […]

gitlinuxexcerpt only · body stays at the source
From the web
9

HOW TO SET LOCAL AOSP GERRIT SERVER – PART 2 (opens on the source site)

Hi. This is part 2 of the “How to set local AOSP Gerrit server”, you might want to start with part 1 here. In part 1 we’ve downloaded all the necessary stuff and in this post we’re going to set it all up. First thing, let’s bootstrap Gerrit. Let’s create a Gerrit user: $ sudo […]

androidgerritexcerpt only · body stays at the source
From the web
9 shown

Privacy choices

Reading never requires analytics. These choices last 90 days on this browser.

Essential sign-in and security storage always stays on. Read the privacy notice.