DevOps Classroom notes 23/Nov/2024

Git

Rewriting History

  • This includes
    • changing commit messages
    • making changes in older commits
    • deleting commits
    • combining commits
  • Rewriting the commit messsage of latest commit (git commit –amend)
  • Git has interactive rebase where you can rewrite history
  • View classroom recording for examples

detached head

  • HEAD should look at branch not at commit
  • When HEAD looks at commit this state is called as DETACHED HEAD and this is a faulty state

Recover a deleted commit

  • Watch recording

Remote Repo

  • Remote Repositories can be hosted
  • on any of your organizational servers (self hosted git)
    • Gitolite
    • Github enteprise
    • Gitlab
  • on cloud hosted (we create account)
  • Every Remote Repository uses the git and in addition to this it will have
    • daemon (for accepting connections)
      • protocols:
        • https
        • ssh
        • git
    • usermangement
  • We have understood that adding remote repository leads to remote branches
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Social Media Icons Powered by Acurax Web Design Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%