Git is a free and open-source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. :-)
Git-checkout - Switch tages or restore working tree files.
git checkout ['SHA']
Git-checkout - Switch commit.
git checkout -b ['tag-name']
Create and switch tages.
π»
$git tag v0.1.0 // create tag
$git tag -a v0.1.1 // creat tag with comment
$git tag // list of tags
v0.1.0
$git tag -l // list of tags
v0.1.0
$git tag -l"0.1.*" // filter tags
v0.1.0
$git tag -d v0.1.0 // delete tag
Delete tag 'v0.1.0' (was 1234234u)
$git show v0.1.0 // show tags
$ git rebase -i HEAD~2
pick 9309bf8 Autor: [Carlos Andres Martinez]
s 2438f88 Autor: [Carlos Andres Martinez]
# Rebase ea86eb8..2438f88 onto ea86eb8 (2 commands)
#
# Commands:
# p, pick <commit> = use commit
# r, reword <commit> = use commit, but edit the commit message
# e, edit <commit> = use commit, but stop for amending
# s, squash <commit> = use commit, but meld into previous commit
# f, fixup <commit> = like "squash", but discard this commit's log message
# x, exec <command> = run command (the rest of the line) using shell
# b, break = stop here (continue rebase later with 'git rebase --continue')
# d, drop <commit> = remove commit
# l, label <label> = label current HEAD with a name
# t, reset <label> = reset HEAD to a label
# m, merge [-C <commit> | -c <commit>] <label> [# <oneline>]
# . create a merge commit using the original merge commit's
# . message (or the oneline, if no original merge commit was
# . specified). Use -c <commit> to reword the commit message.
#
# These lines can be re-ordered; they are executed from top to bottom.
#
# If you remove a line here THAT COMMIT WILL BE LOST.
#
# However, if you remove everything, the rebase will be aborted.
#
# Note that empty commits are commented out
$ git push --force
We built pgai Vectorizer to simplify embedding management for AI applicationsβwithout needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.
After my first contact with a computer in the 1980's, I taught myself to program in BASIC and Z80 assembler. I went on to study Computer Science and have enjoyed a long career in Software Engineering.
What is that saying? "Old Dog new Tricks."
I am taking the change slowly. Also it's my retirement activities so it will be.
Thinking of Community College class too. Just to be on the trajectory.
That is all I need.
So yeah, thanks for the link.
Hopefully this weekend will find me doing the Git and Github just fine.
For further actions, you may consider blocking this person and/or reporting abuse
Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.
A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!
On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.
Top comments (5)
Hi Carlos,
I have found the following resources helpful in the past.
Regards, Tracy
Thanks for taking the time to read the post and the contribution. I loved the web gitexplorer.com/
Well, first to comment.
I am just exploring Git.
I think it's never to late to learn to do better.
So thank you for posting this.
Thanks for taking the time to read the post. I recommend you practice. When you can look at this website gitexplorer.com/ greetings
What is that saying? "Old Dog new Tricks."
I am taking the change slowly. Also it's my retirement activities so it will be.
Thinking of Community College class too. Just to be on the trajectory.
That is all I need.
So yeah, thanks for the link.
Hopefully this weekend will find me doing the Git and Github just fine.