tag: git

  • How to check what is being ignored in your local git repository using command line

    How to check what is being ignored in your local git repository using command line

    Maria D. Campbell

    Learn how to verify what is being ignored in your local Git repository using command line. This way, you never lose data that may be stored in such files.

    #macOS, #command line, #git, #gitignore

  • Changing the Git master branch to main

    Changing the Git master branch to main

    Maria D. Campbell

    In this post, I discuss why GitHub changed the name of the default branch from master to main, and I talk about how I made the default-branch switch locally and on GitHub.

    #default branch, #git, #github, #macOS, #main branch, #master branch

  • Creating the official Django Polls app Part 1

    Creating the official Django Polls app Part 1

    Maria D. Campbell

    This is the first installment in a series called Creating the Official Django Polls app. Follow this series starting with this post to learn how to create a Django application: how to install Django, check if it is installed, create a virtual environment, create a project, create an app, initialize Git, create your first view, create a URLconf for the index view, and configure the global URL configuration.

    #fullstack development, #macOS, #django, #django app, #django project, #development server, #git, #pip, #python3, #python interpreter, #runserver, #series, #tutorial, #urlconf, #views, #virtualenv, #virtual environment

  • How to create a fullstack application using Django and Python Part 4

    How to create a fullstack application using Django and Python Part 4

    Maria D. Campbell

    In this section, I discuss how to install the python-dotenv package and why it is crucial to do so as to safeguard sensitive information the Django application depends on.

    #macOS, #environment variables, #.env, #fullstack development, #git, #gitignore, #python3, #django, #python-dotenv, #security, #series

  • What "Bypassed rule violations" means when pushing changes to Github remote

    What "Bypassed rule violations" means when pushing changes to Github remote

    Maria D. Campbell

    What "Bypassed rule violations" means when pushing changes to Github.remote.

    #git, #github, #branch protection, #bypassed rule violations, #git push

  • Removing unstaged changes to your individual files in Git

    Removing unstaged changes to your individual files in Git

    Maria D. Campbell

    Learn how to use git checkout and git restore to discard unstaged changes to individual files without resetting your entire working directory.

    #git, #git checkout, #git restore, #git staging, #git switch, #git index

  • Reinstalling Git with Homebrew to Get the Latest Version

    Reinstalling Git with Homebrew to Get the Latest Version

    Maria D. Campbell

    Installing Git with Homebrew on macOS gives you faster, easier updates than relying on Xcode. Here's how to do it using the Git alias command.

    #command line, #homebrew, #git, #git upgrade, #macOS, #macOS tahoe, #sip, #system integrity protection, #Xcode

  • The importance and advantage of git push -u

    The importance and advantage of git push -u

    Maria D. Campbell

    The importance and advantage of the -u flag when pushing a local git repository to remote for the first time.

    #git, #git push