hoogltablet.blogg.se

Gitkraken pull no files on computer
Gitkraken pull no files on computer





  1. GITKRAKEN PULL NO FILES ON COMPUTER UPDATE
  2. GITKRAKEN PULL NO FILES ON COMPUTER CODE

  • Don't worry too much about "Stash" and "Pop" for now.
  • "Branch" lets you create a new branch up to the current version of the repository.
  • "Push" does the opposite - it lets you send any changes you made in the local copy of the repository back.
  • GITKRAKEN PULL NO FILES ON COMPUTER UPDATE

  • "Pull" is where you can update your repository with the changes made on GitHub's copy of your repository.
  • "Undo" and "Redo" are fairly self explanatory.
  • Let's go through the important things that you can see on this screen. If you still have your repository opened there, it should look Once you have done that, go back to GitKraken.

    GITKRAKEN PULL NO FILES ON COMPUTER CODE

    To save you from typing out all of the code from scratch, you are welcomed to copy and paste those I have made in this repo in the process of writing this guide to create the required files. Go ahead and create those files and folders following the structure outlined above! The core files and folder structure that a Flask project requires.Īs mentioned in the Flask sessions, inside the root (folder) of the repository, it should look roughly Now that you have a local copy of the repository that you can work with, it's time to set it up so that it has all Click on the green "Open Now" button to open it in GitKraken. Of the application with the message "Successfully cloned repo ", where will show the Once GitKraken has finished copying the repository to your laptop, you should see a blue status bar near the top Type in the repository name you have given on GitHub next to the "Repository to clone" search box (in my case, IĬlick the "Clone the repo!" green button to get a local copy of the repository. A reminder that there should be nothing else in this folder. In the third column, click on the blue "Browse" button and browse to the folder I advised you to createįor this project (I called mine ShefCodeFirstPython). On the "Repository Management" dialog that have just popped up, click on "Clone" in the first column and "" in

    gitkraken pull no files on computer

    Open the GitKraken desktop application, then click on the folder icon Need to have a local copy of it on your laptop - we will be using GitKraken to do this. Now that you have created your repository on GitHub, let's begin working on it. This is a handy file made by the peopleĪt GitHub which will deal with common file patterns that you should not be saving (committing) to theĬlick the green "Create Repository" button to complete the process. Leave the repository as "Public", and make sure you tick checkbox next to "Initialize this repositoryĬhange the dropdown menu for "Add.

    gitkraken pull no files on computer

    Give your repository a name under "Repository name", and give the project a description if you want. This should then take you to the following screen:

  • Click on the "+" icon near the top right of the dashboard, then "New Repository" on the dropdown revealedĪs shown in the screenshot above.
  • Once you've signed in, you should see something like the following near the top of your dashboard: Open your browser and log into your GitHub account at. Creating a new Git repositoryĪs mentioned in session 3, a Git repository is a project where all of your app files (Python code, images,ĬSS stylesheets etc.) are, either online on GitHub or locally on your laptop. "Why is my code not working even when I know I've fixed it?!!", as the chances are, you've probably beenįixing a different copy of the code from the one you're running on the command line. Most of the time, this will save you from the headache of don't save other files/folders in there that are unrelated to the project!Īnother tip for staying organised is close the other tabs in your editor when you have files with the sameįile name opened.

    gitkraken pull no files on computer

    Once you've done that, make sure you keep thatįolder "clean" - i.e. The best way to stay organised is when you are creating a new project, make a new folder somewhere that'sĮasy to find and save your code/other related files in there. Working out which folders and files are supposed to be part of your Flask code project! Make sure you are organised with where you save your code files! Otherwise, Git will have trouble In this guide, we will go through the basics of working with Git using GitKraken as introduced in class.īefore you make a new repository, there's one thing I want to emphasise:

  • Introduction - staying organised with your project.






  • Gitkraken pull no files on computer