Binaryfolks 2020 Dev Assignment
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Amritendu Basu
Posts : 1
Join date : 2020-07-25

Unable to upload my every date progress on github Empty Unable to upload my every date progress on github

Mon Jul 27, 2020 10:51 am
At the end of the day when I want to upload my code on github repository from VS Code, I am unable to do that . After I select Git: Add Remote from command palette of VS code and paste the URL of my repository nothing is happening.
sujoy98
sujoy98
Posts : 19
Join date : 2020-07-25
Age : 25

Unable to upload my every date progress on github Empty Re: Unable to upload my every date progress on github

Mon Jul 27, 2020 11:28 am
HERE IS THE FULL TUTORIAL FOR GIT+VS CODE
1.To get started with the GitHub in VS Code, you'll need to create an account and install the GitHub Pull Requests and Issues extension.

2.Once you've installed the GitHub Pull Requests and Issues extension, you'll need to sign in. Follow the prompts to authenticate with GitHub and return to VS Code

3.Cloning a repository :-
You can search for and clone a repository from GitHub using the Git: Clone command in the Command Palette (Ctrl+Shift+P) or by using the Clone Repository button in the Source Control view (available when you have no folder open)

4.Authenticating with an existing repository :-
Enabling authentication through GitHub happens when you run any Git action in VS Code that requires GitHub authentication, such as pushing to a repository that you're
a member of or cloning a private repository. You don't need to have any special extensions installed for authentication; it is built into VS Code so that you can efficiently
manage your repository.When you do something that requires GitHub authentication, you'll see a prompt to sign in.

5.Hovers :-
When you have a repository open and a user is @-mentioned, you can hover over that username and see a GitHub-style hover.
There is a similar hover for #-mentioned issue numbers, full GitHub issue URLs, and repository specified issues.

6.Suggestions :-
User suggestions are triggered by the "@" character and issue suggestions are triggered by the "#" character. Suggestions are available in the editor and in the Source
Control view's input box.
The issues that appear in the suggestion can be configured with the GitHub Issues: Queries (githubIssues.queries) setting. The queries use the GitHub search syntax.
You can also configure which files show these suggestions using the settings GitHub Issues: Ignore Completion Trigger (githubIssues.ignoreCompletionTrigger) and
GitHub Issues: Ignore User Completion Trigger (githubIssues.ignoreUserCompletionTrigger). These settings take an array of language identifiers to specify the file types.
Code:
// Languages that the '#' character should not be used to trigger issue completion suggestions.
"githubIssues.ignoreCompletionTrigger": [
  "python"
]

7.Pull requests :-
From the Pull Requests view you can view, manage, and create pull requests.
The queries used to display pull requests can be configured with the GitHub Pull Requests: Queries (githubPullRequests.queries) setting and use the GitHub search
syntax.
Code:
"githubPullRequests.queries": [
    {
        "label": "Assigned To Me",
        "query": "is:open assignee:${user}"
    },
8.Creating Pull Requests :-
You can use the GitHub Pull Requests: Create Pull Request command or use the + button in the Pull Requests view to create a pull request. If you have not already
pushed your branch to a remote, the extension will do this for you. You can use the last commit message, the branch name, or write a custom title for the pull request. If
your repository has a pull request template, this will automatically be used for the description.

9.Reviewing :-
Pull requests can be reviewed from the Pull Requests view. You can assign reviewers and labels, add comments, approve, close, and merge all from the pull request
description.
From the description page, you can also easily checkout the pull request locally using the Checkout button. This will add a new Changes in Pull Request view from which
you can view diffs of the current changes as well as all commits and the changes within these commits. Files that have been commented on are decorated with a
diamond icon. To view the file on disk, you can use the Open File inline action.
The diff editors from this view use the local file, so file navigation, IntelliSense, and editing work as normal. You can add comments within the editor on these diffs. Both
adding single comments and creating a whole review is supported.

10.Issues --
Creating issues :-
Issues can be created from the + button in the Issues view and by using the GitHub Issues: Create Issue from Selection and GitHub Issues: Create Issue from Clipboard
commands. They can also be created using a Code Action for "TODO" comments.
You can configure the trigger for the Code Action using the GitHub Issues: Create Issue Triggers (githubIssues.createIssueTriggers) setting.

The default issue triggers are:
Code:
    "githubIssues.createIssueTriggers": [
  "TODO",
  "todo",
  "BUG",
  "FIXME",
  "ISSUE",
  "HACK"
]

11.Working on issues :-
From the Issues view, you can see your issues and work on them. By default, when you start working on an issue, a branch will be created for you. You can configure the
name of the branch using the GitHub Issues: Working Issue Branch (githubIssues.workingIssueBranch) setting. The commit message input box in the Source Control
view will be populated with a commit message, which can be configured with GitHub Issues: Working Issue Format SCM (githubIssues.workingIssueFormatScm).
If your workflow doesn't involve creating a branch, or if you want to be prompted to enter a branch name every time, you can skip that step by turning off the GitHub
Issues: Use Branch For Issues
Code:
 githubIssues.useBranchForIssues
setting.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum